#288B23#288B23

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

Color values

HEX#288B23
RGBrgb(40, 139, 35)
HSLhsl(117, 60%, 34%)
HSVhsv(117, 75%, 55%)
CMYKcmyk(71.2%, 0%, 74.8%, 45.5%)
CIE-LABlab(50.73, -48.40, 44.82)
CIE-LCHlch(50.73, 65.96, 137.20°)
OKLaboklab(55.93% -0.1317 0.1015)
OKLCHoklch(55.93% 0.166 142.4)
XYZxyz(10.4105, 19.0366, 4.7156)
Luminance0.1904 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288B23 #86238B
analogous
#5C8B23 #288B23 #238B52
triadic
#288B23 #23288B #8B2328
tetradic
#288B23 #235C8B #86238B #8B5223
square
#288B23 #235C8B #86238B #8B5223
split-complementary
#288B23 #52238B #8B235C
monochromatic
#0C290A #1A5A17 #288B23 #36BC2F #5BD454

Accessibility & contrast

On white

4.37
#288B23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#288B23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288B23
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288B23#FFFFFF#000000##000000
##288B231.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E10
Deuteranopia (green-blind)
#83762E
Tritanopia (blue-blind)
#0C8777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #288b23;
/* rgb */ color: rgb(40, 139, 35);
/* oklch */ color: oklch(55.9% 0.166 142.4);
Tailwind
colors: {
  custom: {
    50: '#72ae65',
    500: '#288b23',
    950: '#000000',
  },
}
SCSS
$custom: #288b23;
$custom-light: #72ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#288b23",
  "rgb": {
    "r": 40,
    "g": 139,
    "b": 35
  },
  "hsl": {
    "h": 117.115,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55934,
    "c": 0.16626,
    "h": 142.4
  },
  "luminance": 0.19038
}

Semantic roles & 50–950 ramp

primary
#288B23
secondary
#B352B8
accent
#45E3DB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #288B23

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

Preview Lab → · Contrast checker → · Palette generator →

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