#288B29#288B29

#288B29 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.0% C 0.162 H 143.1°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#288B29
RGBrgb(40, 139, 41)
HSLhsl(121, 55%, 35%)
HSVhsv(121, 71%, 55%)
CMYKcmyk(71.2%, 0%, 70.5%, 45.5%)
CIE-LABlab(50.78, -47.86, 42.45)
CIE-LCHlch(50.78, 63.97, 138.43°)
OKLaboklab(55.99% -0.1299 0.0973)
OKLCHoklch(55.99% 0.162 143.1)
XYZxyz(10.5073, 19.0753, 5.2256)
Luminance0.1908 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288B29 #8B288A
analogous
#598B28 #288B29 #288B5A
triadic
#288B29 #29288B #8B2928
tetradic
#288B29 #28598B #8B288A #8B5A28
square
#288B29 #28598B #8B288A #8B5A28
split-complementary
#288B29 #5A288B #8B2859
monochromatic
#0D2C0D #1A5B1B #288B29 #36BB37 #5DD05E

Accessibility & contrast

On white

4.36
#288B29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#288B29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288B29
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288B29#FFFFFF#000000##000000
##288B291.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1B
Deuteranopia (green-blind)
#827632
Tritanopia (blue-blind)
#098777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #288b29;
/* rgb */ color: rgb(40, 139, 41);
/* oklch */ color: oklch(56.0% 0.162 143.1);
Tailwind
colors: {
  custom: {
    50: '#71ae68',
    500: '#288b29',
    950: '#000000',
  },
}
SCSS
$custom: #288b29;
$custom-light: #71ae68;
$custom-dark: #000000;
JSON
{
  "hex": "#288b29",
  "rgb": {
    "r": 40,
    "g": 139,
    "b": 41
  },
  "hsl": {
    "h": 120.606,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55986,
    "c": 0.16231,
    "h": 143.1
  },
  "luminance": 0.19076
}

Semantic roles & 50–950 ramp

primary
#288B29
secondary
#B659B5
accent
#49DDDF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #288B29

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

Preview Lab → · Contrast checker → · Palette generator →

#288B29 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva