#288A1E#288A1E

#288A1E is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.6% C 0.168 H 141.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#288A1E
RGBrgb(40, 138, 30)
HSLhsl(114, 64%, 33%)
HSVhsv(114, 78%, 54%)
CMYKcmyk(71%, 0%, 78.3%, 45.9%)
CIE-LABlab(50.36, -48.44, 46.28)
CIE-LCHlch(50.36, 67.00, 136.31°)
OKLaboklab(55.62% -0.132 0.1039)
OKLCHoklch(55.62% 0.168 141.8)
XYZxyz(10.1973, 18.7207, 4.3041)
Luminance0.1872 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288A1E #801E8A
analogous
#5E8A1E #288A1E #1E8A4A
triadic
#288A1E #1E288A #8A1E28
tetradic
#288A1E #1E5E8A #801E8A #8A4A1E
square
#288A1E #1E5E8A #801E8A #8A4A1E
split-complementary
#288A1E #4A1E8A #8A1E5E
monochromatic
#0B2508 #195813 #288A1E #37BC29 #58D84B

Accessibility & contrast

On white

4.43
#288A1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#288A1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288A1E
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288A1E#FFFFFF#000000##000000
##288A1E1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D04
Deuteranopia (green-blind)
#82752A
Tritanopia (blue-blind)
#0F8676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #288a1e;
/* rgb */ color: rgb(40, 138, 30);
/* oklch */ color: oklch(55.6% 0.168 141.8);
Tailwind
colors: {
  custom: {
    50: '#72ad62',
    500: '#288a1e',
    950: '#000000',
  },
}
SCSS
$custom: #288a1e;
$custom-light: #72ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#288a1e",
  "rgb": {
    "r": 40,
    "g": 138,
    "b": 30
  },
  "hsl": {
    "h": 114.444,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55615,
    "c": 0.168,
    "h": 141.8
  },
  "luminance": 0.18722
}

Semantic roles & 50–950 ramp

primary
#288A1E
secondary
#B04ABA
accent
#41E7D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #288A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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