#288B1C#288B1C

#288B1C is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.9% C 0.170 H 141.6°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#288B1C
RGBrgb(40, 139, 28)
HSLhsl(114, 66%, 33%)
HSVhsv(114, 80%, 55%)
CMYKcmyk(71.2%, 0%, 79.9%, 45.5%)
CIE-LABlab(50.69, -48.93, 47.28)
CIE-LCHlch(50.69, 68.04, 135.98°)
OKLaboklab(55.88% -0.1335 0.1057)
OKLCHoklch(55.88% 0.17 141.6)
XYZxyz(10.3167, 18.9991, 4.2219)
Luminance0.1900 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288B1C #7F1C8B
analogous
#5F8B1C #288B1C #1C8B48
triadic
#288B1C #1C288B #8B1C28
tetradic
#288B1C #1C5F8B #7F1C8B #8B481C
square
#288B1C #1C5F8B #7F1C8B #8B481C
split-complementary
#288B1C #481C8B #8B1C5F
monochromatic
#0B2507 #195812 #288B1C #37BE26 #57DA47

Accessibility & contrast

On white

4.38
#288B1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#288B1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288B1C
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288B1C#FFFFFF#000000##000000
##288B1C1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7D00
Deuteranopia (green-blind)
#837629
Tritanopia (blue-blind)
#0F8776
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #288b1c;
/* rgb */ color: rgb(40, 139, 28);
/* oklch */ color: oklch(55.9% 0.170 141.6);
Tailwind
colors: {
  custom: {
    50: '#72ae62',
    500: '#288b1c',
    950: '#000000',
  },
}
SCSS
$custom: #288b1c;
$custom-light: #72ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#288b1c",
  "rgb": {
    "r": 40,
    "g": 139,
    "b": 28
  },
  "hsl": {
    "h": 113.514,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55883,
    "c": 0.17022,
    "h": 141.6
  },
  "luminance": 0.19
}

Semantic roles & 50–950 ramp

primary
#288B1C
secondary
#AF47BC
accent
#3EE9D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #288B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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