#288D23#288D23

#288D23 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.5% C 0.169 H 142.4°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#288D23
RGBrgb(40, 141, 35)
HSLhsl(117, 60%, 35%)
HSVhsv(117, 75%, 55%)
CMYKcmyk(71.6%, 0%, 75.2%, 44.7%)
CIE-LABlab(51.41, -49.10, 45.50)
CIE-LCHlch(51.41, 66.94, 137.18°)
OKLaboklab(56.49% -0.1335 0.1029)
OKLCHoklch(56.49% 0.169 142.4)
XYZxyz(10.7027, 19.6211, 4.8130)
Luminance0.1962 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288D23 #88238D
analogous
#5D8D23 #288D23 #238D53
triadic
#288D23 #23288D #8D2328
tetradic
#288D23 #235D8D #88238D #8D5323
square
#288D23 #235D8D #88238D #8D5323
split-complementary
#288D23 #53238D #8D235D
monochromatic
#0C2B0B #1A5C17 #288D23 #36BE2F #5BD555

Accessibility & contrast

On white

4.26
#288D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#288D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288D23
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288D23#FFFFFF#000000##000000
##288D231.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0F
Deuteranopia (green-blind)
#85772E
Tritanopia (blue-blind)
#0B8978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #288d23;
/* rgb */ color: rgb(40, 141, 35);
/* oklch */ color: oklch(56.5% 0.169 142.4);
Tailwind
colors: {
  custom: {
    50: '#72af65',
    500: '#288d23',
    950: '#000000',
  },
}
SCSS
$custom: #288d23;
$custom-light: #72af65;
$custom-dark: #000000;
JSON
{
  "hex": "#288d23",
  "rgb": {
    "r": 40,
    "g": 141,
    "b": 35
  },
  "hsl": {
    "h": 117.17,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56494,
    "c": 0.16862,
    "h": 142.4
  },
  "luminance": 0.19622
}

Semantic roles & 50–950 ramp

primary
#288D23
secondary
#B453B9
accent
#44E3DC
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #288D23

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

Preview Lab → · Contrast checker → · Palette generator →

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