Skip to content

#288708

a dark, electric green · neutral · closest name: Forest Green

RGB
40, 135, 8
HSL
105°, 89%, 28%
CMYK
70, 0, 94, 47
Luminance
0.1780

At a glance

Every number on this page in one read: what #288708 is made of, how bright it looks, and which way it leans.

Hex
#288708
Hue
105°
green
Saturation
89%
electric
Lightness
28%
dark
Brightness
53%
HSV value
Perceived
41%
weighted brightness
Luminance
0.1780
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Green
Tone
Electric
Best ink
White
4.61:1
Closest name
Forest Green
ΔE2000 2.6
Where it sits
Hue105° of 360°
Saturation89%
Lightness28%
Temperature
Warm ← → Cool56% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#288708
RGBrgb(40, 135, 8)
HSLhsl(105, 89%, 28%)
CMYKcmyk(70%, 0%, 94%, 47%)
LABlab(49.3 -48.5 51.0)
LCHlch(49.3 70.4 133.6)
OKLCHoklch(0.547 0.173 140.2)
Decimal2656008
Display P3color(display-p3 0.157 0.529 0.031)

Copy-ready code

/* CSS */
color: #288708;
background-color: #288708;
/* Tailwind (arbitrary) */
class="text-[#288708] bg-[#288708]"
/* SCSS */
$brand: #288708;
/* SwiftUI */
Color(red: 0.157, green: 0.529, blue: 0.031)
/* Android */
Color.parseColor("#288708")
/* Flutter */
Color(0xFF288708)
/* Python / OpenCV (BGR) */
(8, 135, 40)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #288708 · 4.61:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 4.61:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.56:1
AA pass · AA large pass · AAA fail
Reading the other direction: #288708 as text scores 4.61:1 on white and 4.56:1 on black.

Accessibility — WCAG contrast

Aa
#288708 on white: 4.61:1
AA ✓ pass · AA-large · AAA
Aa
#288708 on black: 4.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8B7A00
deuteranopia · #80721D
tritanopia · #158272

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #288708 is pinned to step 800; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F5FDF2
#EAFBE5
#D1F8C4
#AEF995
#86F660
#5DF22B
#44E70E
#39C10B
#288708
#246F0B
#174507
Base = 800Lightest = 50 · #F5FDF2Darkest = 950 · #174507
:root {
  --brand-50: #F5FDF2;
  --brand-100: #EAFBE5;
  --brand-200: #D1F8C4;
  --brand-300: #AEF995;
  --brand-400: #86F660;
  --brand-500: #5DF22B;
  --brand-600: #44E70E;
  --brand-700: #39C10B;
  --brand-800: #288708;
  --brand-900: #246F0B;
  --brand-950: #174507;
  --brand: #288708;
  --brand-ink: #ffffff;
}

Colors that work with #288708

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F6FAF4
Tinted page background
Border#CBEDC0
Hairlines and dividers
Muted text#5F9B4B
Captions on the surface
Accent#47058A
Second voice, not a rival
Dark variant#247807
Hover, pressed, headers
Light variant#EDFEE7
Selected rows, tints
Dark surface#182414
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #288708

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#670887
Analogous left#678708
Analogous right#088727
Split-complement 1#270887
Split-complement 2#870867
Triadic 1#082887
Triadic 2#870828
Tetradic#086787

RGB percentages

Red15.7%
Green52.9%
Blue3.1%

CMYK percentages

Cyan70.4%
Magenta0.0%
Yellow94.1%
Key (black)47.1%

Color previews

#288708 text on a black background

contrast 4.56:1

Card sample

#288708 text on a white background

contrast 4.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #288708;
Background color
Panel with #288708 background
background-color: #288708;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #288708;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(40, 135, 8, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(40, 135, 8, 0.45);
Border & gradient
Gradient panel
border: 3px solid #288708;
background: linear-gradient(135deg, #288708, #08873D);

Monochromatic scale

Palettes built from #288708

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#288708 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
SustainabilityFinanceHealth and wellnessAgriculture
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#288708, answered

What color is #288708?

#288708 is a dark electric green, closest to Forest Green (ΔE2000 2.6). It sits at 105° on the hue wheel with 89% saturation and 28% lightness, which reads as neutral.

What is the RGB value of #288708?

rgb(40, 135, 8) — 40 red, 135 green and 8 blue out of 255, or 15.7% / 52.9% / 3.1% by channel.

Is #288708 a light or a dark color?

It is a dark color. Relative luminance is 0.1780 and perceived brightness is 41%, so white text on it reaches 4.61:1.

Should I use black or white text on #288708?

White. It scores 4.61:1 against #288708, versus 4.56:1 for black — AA at any size.

What is the complementary color of #288708?

#670887 sits directly opposite on the wheel. Softer options are the split-complements #270887 and #870867, which give the same contrast with far less vibration.

What colors go well with #288708?

For interface work: #F6FAF4 as the surface, #CBEDC0 for borders, #5F9B4B for secondary text, #47058A as an accent and #247807 for hover and pressed states. For a palette, the analogous pair #678708 and #088727 stays calm, while #670887 is the loudest partner.

What is #288708 in CMYK for printing?

cmyk(70%, 0%, 94%, 47%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #288708 warm or cool?

Neutral — it scores 56 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #568708; nudged cooler, #078815.

Work with #288708 in the Color Lab