#288B2C#288B2C

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

Color values

HEX#288B2C
RGBrgb(40, 139, 44)
HSLhsl(122, 55%, 35%)
HSVhsv(122, 71%, 55%)
CMYKcmyk(71.2%, 0%, 68.3%, 45.5%)
CIE-LABlab(50.80, -47.55, 41.19)
CIE-LCHlch(50.80, 62.91, 139.10°)
OKLaboklab(56.02% -0.1289 0.0951)
OKLCHoklch(56.02% 0.16 143.6)
XYZxyz(10.5617, 19.0971, 5.5119)
Luminance0.1910 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288B2C #8B2887
analogous
#568B28 #288B2C #288B5D
triadic
#288B2C #2C288B #8B2C28
tetradic
#288B2C #28568B #8B2887 #8B5D28
square
#288B2C #28568B #8B2887 #8B5D28
split-complementary
#288B2C #5D288B #8B2856
monochromatic
#0D2C0E #1A5B1D #288B2C #36BB3B #5DD062

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288B2C#FFFFFF#000000##000000
##288B2C1.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)
#8E7E1F
Deuteranopia (green-blind)
#827635
Tritanopia (blue-blind)
#088778
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #288b2c;
/* rgb */ color: rgb(40, 139, 44);
/* oklch */ color: oklch(56.0% 0.160 143.6);
Tailwind
colors: {
  custom: {
    50: '#71ae6a',
    500: '#288b2c',
    950: '#000000',
  },
}
SCSS
$custom: #288b2c;
$custom-light: #71ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#288b2c",
  "rgb": {
    "r": 40,
    "g": 139,
    "b": 44
  },
  "hsl": {
    "h": 122.424,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56015,
    "c": 0.16016,
    "h": 143.6
  },
  "luminance": 0.19098
}

Semantic roles & 50–950 ramp

primary
#288B2C
secondary
#B659B2
accent
#49D9DF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #288B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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