#288935#288935

#288935 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.6% C 0.150 H 145.3°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#288935
RGBrgb(40, 137, 53)
HSLhsl(128, 55%, 35%)
HSVhsv(128, 71%, 54%)
CMYKcmyk(70.8%, 0%, 61.3%, 46.3%)
CIE-LABlab(50.21, -45.78, 36.38)
CIE-LCHlch(50.21, 58.47, 141.53°)
OKLaboklab(55.56% -0.1237 0.0857)
OKLCHoklch(55.56% 0.15 145.3)
XYZxyz(10.4626, 18.5983, 6.4059)
Luminance0.1860 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288935 #89287C
analogous
#4C8928 #288935 #288965
triadic
#288935 #352889 #893528
tetradic
#288935 #284C89 #89287C #896528
square
#288935 #284C89 #89287C #896528
split-complementary
#288935 #652889 #89284C
monochromatic
#0C2A10 #1A5A23 #288935 #36B847 #5CCF6B

Accessibility & contrast

On white

4.45
#288935 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#288935 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288935
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288935#FFFFFF#000000##000000
##2889351.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C2C
Deuteranopia (green-blind)
#80743C
Tritanopia (blue-blind)
#048577
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #288935;
/* rgb */ color: rgb(40, 137, 53);
/* oklch */ color: oklch(55.6% 0.150 145.3);
Tailwind
colors: {
  custom: {
    50: '#70ac6f',
    500: '#288935',
    950: '#000000',
  },
}
SCSS
$custom: #288935;
$custom-light: #70ac6f;
$custom-dark: #000000;
JSON
{
  "hex": "#288935",
  "rgb": {
    "r": 40,
    "g": 137,
    "b": 53
  },
  "hsl": {
    "h": 128.041,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55557,
    "c": 0.15048,
    "h": 145.3
  },
  "luminance": 0.18599
}

Semantic roles & 50–950 ramp

primary
#288935
secondary
#B558A8
accent
#4ACADE
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #288935

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#288935 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva