#288C2E#288C2E

#288C2E is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.3% C 0.160 H 143.9°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#288C2E
RGBrgb(40, 140, 46)
HSLhsl(124, 56%, 35%)
HSVhsv(124, 71%, 55%)
CMYKcmyk(71.4%, 0%, 67.1%, 45.1%)
CIE-LABlab(51.16, -47.70, 40.69)
CIE-LCHlch(51.16, 62.70, 139.53°)
OKLaboklab(56.32% -0.1292 0.0942)
OKLCHoklch(56.32% 0.16 143.9)
XYZxyz(10.7456, 19.4034, 5.7632)
Luminance0.1941 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288C2E #8C2886
analogous
#548C28 #288C2E #288C60
triadic
#288C2E #2E288C #8C2E28
tetradic
#288C2E #28548C #8C2886 #8C6028
square
#288C2E #28548C #8C2886 #8C6028
split-complementary
#288C2E #60288C #8C2854
monochromatic
#0D2D0F #1A5C1E #288C2E #36BC3E #5ED164

Accessibility & contrast

On white

4.30
#288C2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#288C2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288C2E
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288C2E#FFFFFF#000000##000000
##288C2E1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F22
Deuteranopia (green-blind)
#837736
Tritanopia (blue-blind)
#058879
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #288c2e;
/* rgb */ color: rgb(40, 140, 46);
/* oklch */ color: oklch(56.3% 0.160 143.9);
Tailwind
colors: {
  custom: {
    50: '#71af6b',
    500: '#288c2e',
    950: '#000000',
  },
}
SCSS
$custom: #288c2e;
$custom-light: #71af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#288c2e",
  "rgb": {
    "r": 40,
    "g": 140,
    "b": 46
  },
  "hsl": {
    "h": 123.6,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56315,
    "c": 0.15991,
    "h": 143.9
  },
  "luminance": 0.19405
}

Semantic roles & 50–950 ramp

primary
#288C2E
secondary
#B65AB1
accent
#49D6DF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #288C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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