#288A23#288A23

#288A23 is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.7% C 0.165 H 142.4°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#288A23
RGBrgb(40, 138, 35)
HSLhsl(117, 60%, 34%)
HSVhsv(117, 75%, 54%)
CMYKcmyk(71%, 0%, 74.6%, 45.9%)
CIE-LABlab(50.39, -48.05, 44.47)
CIE-LCHlch(50.39, 65.47, 137.21°)
OKLaboklab(55.65% -0.1307 0.1008)
OKLCHoklch(55.65% 0.165 142.4)
XYZxyz(10.2663, 18.7483, 4.6675)
Luminance0.1875 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288A23 #85238A
analogous
#5C8A23 #288A23 #238A52
triadic
#288A23 #23288A #8A2328
tetradic
#288A23 #235C8A #85238A #8A5223
square
#288A23 #235C8A #85238A #8A5223
split-complementary
#288A23 #52238A #8A235C
monochromatic
#0C280A #1A5917 #288A23 #36BB2F #5AD454

Accessibility & contrast

On white

4.42
#288A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#288A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288A23
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288A23#FFFFFF#000000##000000
##288A231.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D10
Deuteranopia (green-blind)
#82752E
Tritanopia (blue-blind)
#0D8676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #288a23;
/* rgb */ color: rgb(40, 138, 35);
/* oklch */ color: oklch(55.7% 0.165 142.4);
Tailwind
colors: {
  custom: {
    50: '#71ad65',
    500: '#288a23',
    950: '#000000',
  },
}
SCSS
$custom: #288a23;
$custom-light: #71ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#288a23",
  "rgb": {
    "r": 40,
    "g": 138,
    "b": 35
  },
  "hsl": {
    "h": 117.087,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55653,
    "c": 0.16506,
    "h": 142.4
  },
  "luminance": 0.18749
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #288A23

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

Preview Lab → · Contrast checker → · Palette generator →

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