#288C2F#288C2F

#288C2F is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.3% C 0.159 H 144.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#288C2F
RGBrgb(40, 140, 47)
HSLhsl(124, 56%, 35%)
HSVhsv(124, 71%, 55%)
CMYKcmyk(71.4%, 0%, 66.4%, 45.1%)
CIE-LABlab(51.16, -47.59, 40.26)
CIE-LCHlch(51.16, 62.33, 139.77°)
OKLaboklab(56.33% -0.1288 0.0934)
OKLCHoklch(56.33% 0.159 144.1)
XYZxyz(10.7656, 19.4113, 5.8682)
Luminance0.1941 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288C2F #8C2885
analogous
#538C28 #288C2F #288C61
triadic
#288C2F #2F288C #8C2F28
tetradic
#288C2F #28538C #8C2885 #8C6128
square
#288C2F #28538C #8C2885 #8C6128
split-complementary
#288C2F #61288C #8C2853
monochromatic
#0D2D0F #1A5C1F #288C2F #36BC3F #5ED166

Accessibility & contrast

On white

4.30
#288C2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#288C2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288C2F
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288C2F#FFFFFF#000000##000000
##288C2F1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F23
Deuteranopia (green-blind)
#837737
Tritanopia (blue-blind)
#058879
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #288c2f;
/* rgb */ color: rgb(40, 140, 47);
/* oklch */ color: oklch(56.3% 0.159 144.1);
Tailwind
colors: {
  custom: {
    50: '#71af6c',
    500: '#288c2f',
    950: '#000000',
  },
}
SCSS
$custom: #288c2f;
$custom-light: #71af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#288c2f",
  "rgb": {
    "r": 40,
    "g": 140,
    "b": 47
  },
  "hsl": {
    "h": 124.2,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56325,
    "c": 0.15915,
    "h": 144.1
  },
  "luminance": 0.19413
}

Semantic roles & 50–950 ramp

primary
#288C2F
secondary
#B65AB0
accent
#49D4DF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #288C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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