#288C1B#288C1B

#288C1B is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.2% C 0.172 H 141.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#288C1B
RGBrgb(40, 140, 27)
HSLhsl(113, 68%, 33%)
HSVhsv(113, 81%, 55%)
CMYKcmyk(71.4%, 0%, 80.7%, 45.1%)
CIE-LABlab(51.02, -49.34, 47.93)
CIE-LCHlch(51.02, 68.79, 135.83°)
OKLaboklab(56.16% -0.1346 0.1069)
OKLCHoklch(56.16% 0.172 141.6)
XYZxyz(10.4504, 19.2853, 4.2084)
Luminance0.1929 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288C1B #7F1B8C
analogous
#618C1B #288C1B #1B8C46
triadic
#288C1B #1B288C #8C1B28
tetradic
#288C1B #1B618C #7F1B8C #8C461B
square
#288C1B #1B618C #7F1B8C #8C461B
split-complementary
#288C1B #461B8C #8C1B61
monochromatic
#0B2507 #195911 #288C1B #37BF25 #57DB46

Accessibility & contrast

On white

4.32
#288C1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#288C1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288C1B
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288C1B#FFFFFF#000000##000000
##288C1B1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#847728
Tritanopia (blue-blind)
#0E8777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #288c1b;
/* rgb */ color: rgb(40, 140, 27);
/* oklch */ color: oklch(56.2% 0.172 141.6);
Tailwind
colors: {
  custom: {
    50: '#72af61',
    500: '#288c1b',
    950: '#000000',
  },
}
SCSS
$custom: #288c1b;
$custom-light: #72af61;
$custom-dark: #000000;
JSON
{
  "hex": "#288c1b",
  "rgb": {
    "r": 40,
    "g": 140,
    "b": 27
  },
  "hsl": {
    "h": 113.097,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56158,
    "c": 0.17188,
    "h": 141.6
  },
  "luminance": 0.19286
}

Semantic roles & 50–950 ramp

primary
#288C1B
secondary
#AF46BD
accent
#3DEBD7
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #288C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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