#288E23#288E23

#288E23 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.8% C 0.170 H 142.4°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#288E23
RGBrgb(40, 142, 35)
HSLhsl(117, 60%, 35%)
HSVhsv(117, 75%, 56%)
CMYKcmyk(71.8%, 0%, 75.4%, 44.3%)
CIE-LABlab(51.74, -49.44, 45.84)
CIE-LCHlch(51.74, 67.42, 137.16°)
OKLaboklab(56.77% -0.1345 0.1037)
OKLCHoklch(56.77% 0.17 142.4)
XYZxyz(10.8508, 19.9173, 4.8624)
Luminance0.1992 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288E23 #89238E
analogous
#5E8E23 #288E23 #238E53
triadic
#288E23 #23288E #8E2328
tetradic
#288E23 #235E8E #89238E #8E5323
square
#288E23 #235E8E #89238E #8E5323
split-complementary
#288E23 #53238E #8E235E
monochromatic
#0C2C0B #1A5D17 #288E23 #36BF2F #5CD556

Accessibility & contrast

On white

4.21
#288E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#288E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288E23
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288E23#FFFFFF#000000##000000
##288E231.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800F
Deuteranopia (green-blind)
#86782E
Tritanopia (blue-blind)
#098A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #288e23;
/* rgb */ color: rgb(40, 142, 35);
/* oklch */ color: oklch(56.8% 0.170 142.4);
Tailwind
colors: {
  custom: {
    50: '#72b065',
    500: '#288e23',
    950: '#000000',
  },
}
SCSS
$custom: #288e23;
$custom-light: #72b065;
$custom-dark: #000000;
JSON
{
  "hex": "#288e23",
  "rgb": {
    "r": 40,
    "g": 142,
    "b": 35
  },
  "hsl": {
    "h": 117.196,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56774,
    "c": 0.1698,
    "h": 142.4
  },
  "luminance": 0.19918
}

Semantic roles & 50–950 ramp

primary
#288E23
secondary
#B553B9
accent
#44E4DC
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #288E23

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

Preview Lab → · Contrast checker → · Palette generator →

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