#288B20#288B20

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

Color values

HEX#288B20
RGBrgb(40, 139, 32)
HSLhsl(116, 63%, 34%)
HSVhsv(116, 77%, 55%)
CMYKcmyk(71.2%, 0%, 77%, 45.5%)
CIE-LABlab(50.71, -48.64, 45.92)
CIE-LCHlch(50.71, 66.89, 136.65°)
OKLaboklab(55.91% -0.1325 0.1034)
OKLCHoklch(55.91% 0.168 142)
XYZxyz(10.3678, 19.0195, 4.4910)
Luminance0.1902 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288B20 #83208B
analogous
#5D8B20 #288B20 #208B4D
triadic
#288B20 #20288B #8B2028
tetradic
#288B20 #205D8B #83208B #8B4D20
square
#288B20 #205D8B #83208B #8B4D20
split-complementary
#288B20 #4D208B #8B205D
monochromatic
#0B2809 #1A5915 #288B20 #36BD2B #59D64F

Accessibility & contrast

On white

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

On black

4.80
#288B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288B20
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288B20#FFFFFF#000000##000000
##288B201.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E09
Deuteranopia (green-blind)
#83762C
Tritanopia (blue-blind)
#0E8777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #288b20;
/* rgb */ color: rgb(40, 139, 32);
/* oklch */ color: oklch(55.9% 0.168 142.0);
Tailwind
colors: {
  custom: {
    50: '#72ae63',
    500: '#288b20',
    950: '#000000',
  },
}
SCSS
$custom: #288b20;
$custom-light: #72ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#288b20",
  "rgb": {
    "r": 40,
    "g": 139,
    "b": 32
  },
  "hsl": {
    "h": 115.514,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55911,
    "c": 0.16804,
    "h": 142
  },
  "luminance": 0.19021
}

Semantic roles & 50–950 ramp

primary
#288B20
secondary
#B14DBA
accent
#42E6D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #288B20

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

Preview Lab → · Contrast checker → · Palette generator →

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