#288F2E#288F2E

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

Color values

HEX#288F2E
RGBrgb(40, 143, 46)
HSLhsl(123, 56%, 36%)
HSVhsv(123, 72%, 56%)
CMYKcmyk(72%, 0%, 67.8%, 43.9%)
CIE-LABlab(52.17, -48.76, 41.80)
CIE-LCHlch(52.17, 64.22, 139.40°)
OKLaboklab(57.15% -0.1321 0.0966)
OKLCHoklch(57.15% 0.164 143.8)
XYZxyz(11.1900, 20.2921, 5.9113)
Luminance0.2029 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288F2E #8F2889
analogous
#558F28 #288F2E #288F61
triadic
#288F2E #2E288F #8F2E28
tetradic
#288F2E #28558F #8F2889 #8F6128
square
#288F2E #28558F #8F2889 #8F6128
split-complementary
#288F2E #61288F #8F2855
monochromatic
#0D2F0F #1B5F1F #288F2E #35BF3D #5FD266

Accessibility & contrast

On white

4.15
#288F2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#288F2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288F2E
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288F2E#FFFFFF#000000##000000
##288F2E1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928121
Deuteranopia (green-blind)
#867937
Tritanopia (blue-blind)
#028B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #288f2e;
/* rgb */ color: rgb(40, 143, 46);
/* oklch */ color: oklch(57.2% 0.164 143.8);
Tailwind
colors: {
  custom: {
    50: '#72b16b',
    500: '#288f2e',
    950: '#000000',
  },
}
SCSS
$custom: #288f2e;
$custom-light: #72b16b;
$custom-dark: #000000;
JSON
{
  "hex": "#288f2e",
  "rgb": {
    "r": 40,
    "g": 143,
    "b": 46
  },
  "hsl": {
    "h": 123.495,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57152,
    "c": 0.16363,
    "h": 143.8
  },
  "luminance": 0.20293
}

Semantic roles & 50–950 ramp

primary
#288F2E
secondary
#B85BB2
accent
#48D7E0
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #288F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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