#288820#288820

#288820 is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.1% C 0.165 H 142.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#288820
RGBrgb(40, 136, 32)
HSLhsl(115, 62%, 33%)
HSVhsv(115, 76%, 53%)
CMYKcmyk(70.6%, 0%, 76.5%, 46.7%)
CIE-LABlab(49.69, -47.59, 44.90)
CIE-LCHlch(49.69, 65.43, 136.67°)
OKLaboklab(55.07% -0.1296 0.1013)
OKLCHoklch(55.07% 0.165 142)
XYZxyz(9.9394, 18.1627, 4.3482)
Luminance0.1816 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288820 #802088
analogous
#5C8820 #288820 #20884C
triadic
#288820 #202888 #882028
tetradic
#288820 #205C88 #802088 #884C20
square
#288820 #205C88 #802088 #884C20
split-complementary
#288820 #4C2088 #88205C
monochromatic
#0B2509 #195614 #288820 #37BA2C #58D54D

Accessibility & contrast

On white

4.53
#288820 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#288820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288820
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288820#FFFFFF#000000##000000
##2888201.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B0B
Deuteranopia (green-blind)
#80732B
Tritanopia (blue-blind)
#108474
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #288820;
/* rgb */ color: rgb(40, 136, 32);
/* oklch */ color: oklch(55.1% 0.165 142.0);
Tailwind
colors: {
  custom: {
    50: '#71ac63',
    500: '#288820',
    950: '#000000',
  },
}
SCSS
$custom: #288820;
$custom-light: #71ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#288820",
  "rgb": {
    "r": 40,
    "g": 136,
    "b": 32
  },
  "hsl": {
    "h": 115.385,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55067,
    "c": 0.16451,
    "h": 142
  },
  "luminance": 0.18164
}

Semantic roles & 50–950 ramp

primary
#288820
secondary
#B04CB8
accent
#43E5D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #288820

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

Preview Lab → · Contrast checker → · Palette generator →

#288820 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva