#288B27#288B27

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

Color values

HEX#288B27
RGBrgb(40, 139, 39)
HSLhsl(119, 56%, 35%)
HSVhsv(119, 72%, 55%)
CMYKcmyk(71.2%, 0%, 71.9%, 45.5%)
CIE-LABlab(50.76, -48.05, 43.26)
CIE-LCHlch(50.76, 64.65, 138.00°)
OKLaboklab(55.97% -0.1305 0.0988)
OKLCHoklch(55.97% 0.164 142.9)
XYZxyz(10.4733, 19.0617, 5.0464)
Luminance0.1906 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288B27 #8A278B
analogous
#5A8B27 #288B27 #278B58
triadic
#288B27 #27288B #8B2728
tetradic
#288B27 #275A8B #8A278B #8B5827
square
#288B27 #275A8B #8A278B #8B5827
split-complementary
#288B27 #58278B #8B275A
monochromatic
#0C2B0C #1A5B1A #288B27 #36BB34 #5DD15B

Accessibility & contrast

On white

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

On black

4.81
#288B27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288B27
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288B27#FFFFFF#000000##000000
##288B271.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E17
Deuteranopia (green-blind)
#837631
Tritanopia (blue-blind)
#0B8777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #288b27;
/* rgb */ color: rgb(40, 139, 39);
/* oklch */ color: oklch(56.0% 0.164 142.9);
Tailwind
colors: {
  custom: {
    50: '#71ae67',
    500: '#288b27',
    950: '#000000',
  },
}
SCSS
$custom: #288b27;
$custom-light: #71ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#288b27",
  "rgb": {
    "r": 40,
    "g": 139,
    "b": 39
  },
  "hsl": {
    "h": 119.4,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55967,
    "c": 0.16368,
    "h": 142.9
  },
  "luminance": 0.19063
}

Semantic roles & 50–950 ramp

primary
#288B27
secondary
#B558B6
accent
#48DFDE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #288B27

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

Preview Lab → · Contrast checker → · Palette generator →

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