#288C23#288C23

#288C23 is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.2% C 0.167 H 142.4°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#288C23
RGBrgb(40, 140, 35)
HSLhsl(117, 60%, 34%)
HSVhsv(117, 75%, 55%)
CMYKcmyk(71.4%, 0%, 75%, 45.1%)
CIE-LABlab(51.07, -48.75, 45.16)
CIE-LCHlch(51.07, 66.45, 137.19°)
OKLaboklab(56.21% -0.1326 0.1022)
OKLCHoklch(56.21% 0.167 142.4)
XYZxyz(10.5559, 19.3275, 4.7641)
Luminance0.1933 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288C23 #87238C
analogous
#5D8C23 #288C23 #238C53
triadic
#288C23 #23288C #8C2328
tetradic
#288C23 #235D8C #87238C #8C5323
square
#288C23 #235D8C #87238C #8C5323
split-complementary
#288C23 #53238C #8C235D
monochromatic
#0C2A0B #1A5B17 #288C23 #36BD2F #5BD455

Accessibility & contrast

On white

4.32
#288C23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#288C23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288C23
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288C23#FFFFFF#000000##000000
##288C231.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E10
Deuteranopia (green-blind)
#84772E
Tritanopia (blue-blind)
#0B8878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #288c23;
/* rgb */ color: rgb(40, 140, 35);
/* oklch */ color: oklch(56.2% 0.167 142.4);
Tailwind
colors: {
  custom: {
    50: '#72af65',
    500: '#288c23',
    950: '#000000',
  },
}
SCSS
$custom: #288c23;
$custom-light: #72af65;
$custom-dark: #000000;
JSON
{
  "hex": "#288c23",
  "rgb": {
    "r": 40,
    "g": 140,
    "b": 35
  },
  "hsl": {
    "h": 117.143,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56214,
    "c": 0.16743,
    "h": 142.4
  },
  "luminance": 0.19329
}

Semantic roles & 50–950 ramp

primary
#288C23
secondary
#B452B8
accent
#45E3DC
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #288C23

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

Preview Lab → · Contrast checker → · Palette generator →

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