#288120#288120

#288120 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.1% C 0.156 H 141.9°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#288120
RGBrgb(40, 129, 32)
HSLhsl(115, 60%, 32%)
HSVhsv(115, 75%, 51%)
CMYKcmyk(69%, 0%, 75.2%, 49.4%)
CIE-LABlab(47.31, -45.10, 42.50)
CIE-LCHlch(47.31, 61.97, 136.70°)
OKLaboklab(53.09% -0.1229 0.0963)
OKLCHoklch(53.09% 0.156 141.9)
XYZxyz(8.9855, 16.2550, 4.0302)
Luminance0.1626 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288120 #792081
analogous
#598120 #288120 #208149
triadic
#288120 #202881 #812028
tetradic
#288120 #205981 #792081 #814920
square
#288120 #205981 #792081 #814920
split-complementary
#288120 #492081 #812059
monochromatic
#0A1F08 #195014 #288120 #37B22C #55D249

Accessibility & contrast

On white

4.94
#288120 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#288120 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288120
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288120#FFFFFF#000000##FFFFFF
##2881201.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84750E
Deuteranopia (green-blind)
#7A6D2A
Tritanopia (blue-blind)
#147D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #288120;
/* rgb */ color: rgb(40, 129, 32);
/* oklch */ color: oklch(53.1% 0.156 141.9);
Tailwind
colors: {
  custom: {
    50: '#6fa662',
    500: '#288120',
    950: '#000000',
  },
}
SCSS
$custom: #288120;
$custom-light: #6fa662;
$custom-dark: #000000;
JSON
{
  "hex": "#288120",
  "rgb": {
    "r": 40,
    "g": 129,
    "b": 32
  },
  "hsl": {
    "h": 115.052,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53089,
    "c": 0.1561,
    "h": 141.9
  },
  "luminance": 0.16256
}

Semantic roles & 50–950 ramp

primary
#288120
secondary
#AB49B4
accent
#44E3D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #288120

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

Preview Lab → · Contrast checker → · Palette generator →

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