#288F34#288F34

#288F34 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.159 H 144.8°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#288F34
RGBrgb(40, 143, 52)
HSLhsl(127, 56%, 36%)
HSVhsv(127, 72%, 56%)
CMYKcmyk(72%, 0%, 63.6%, 43.9%)
CIE-LABlab(52.22, -48.08, 39.15)
CIE-LCHlch(52.22, 62.01, 140.85°)
OKLaboklab(57.22% -0.13 0.0916)
OKLCHoklch(57.22% 0.159 144.8)
XYZxyz(11.3166, 20.3427, 6.5783)
Luminance0.2034 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288F34 #8F2883
analogous
#4F8F28 #288F34 #288F67
triadic
#288F34 #34288F #8F3428
tetradic
#288F34 #284F8F #8F2883 #8F6728
square
#288F34 #284F8F #8F2883 #8F6728
split-complementary
#288F34 #67288F #8F284F
monochromatic
#0D2F11 #1B5F23 #288F34 #35BF45 #5FD26D

Accessibility & contrast

On white

4.14
#288F34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#288F34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288F34
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288F34#FFFFFF#000000##000000
##288F341.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#92822A
Deuteranopia (green-blind)
#85793C
Tritanopia (blue-blind)
#008B7C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #288f34;
/* rgb */ color: rgb(40, 143, 52);
/* oklch */ color: oklch(57.2% 0.159 144.8);
Tailwind
colors: {
  custom: {
    50: '#72b16f',
    500: '#288f34',
    950: '#000000',
  },
}
SCSS
$custom: #288f34;
$custom-light: #72b16f;
$custom-dark: #000000;
JSON
{
  "hex": "#288f34",
  "rgb": {
    "r": 40,
    "g": 143,
    "b": 52
  },
  "hsl": {
    "h": 126.99,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57217,
    "c": 0.159,
    "h": 144.8
  },
  "luminance": 0.20344
}

Semantic roles & 50–950 ramp

primary
#288F34
secondary
#B85BAD
accent
#48CEE0
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #288F34

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

Preview Lab → · Contrast checker → · Palette generator →

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