#288F2C#288F2C

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

Color values

HEX#288F2C
RGBrgb(40, 143, 44)
HSLhsl(122, 56%, 36%)
HSVhsv(122, 72%, 56%)
CMYKcmyk(72%, 0%, 69.2%, 43.9%)
CIE-LABlab(52.15, -48.97, 42.64)
CIE-LCHlch(52.15, 64.93, 138.95°)
OKLaboklab(57.13% -0.1327 0.0981)
OKLCHoklch(57.13% 0.165 143.5)
XYZxyz(11.1515, 20.2767, 5.7085)
Luminance0.2028 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288F2C #8F288B
analogous
#578F28 #288F2C #288F5F
triadic
#288F2C #2C288F #8F2C28
tetradic
#288F2C #28578F #8F288B #8F5F28
square
#288F2C #28578F #8F288B #8F5F28
split-complementary
#288F2C #5F288F #8F2857
monochromatic
#0D2F0F #1B5F1D #288F2C #35BF3B #5FD264

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288F2C#FFFFFF#000000##000000
##288F2C1.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)
#92811E
Deuteranopia (green-blind)
#867935
Tritanopia (blue-blind)
#038B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #288f2c;
/* rgb */ color: rgb(40, 143, 44);
/* oklch */ color: oklch(57.1% 0.165 143.5);
Tailwind
colors: {
  custom: {
    50: '#72b16a',
    500: '#288f2c',
    950: '#000000',
  },
}
SCSS
$custom: #288f2c;
$custom-light: #72b16a;
$custom-dark: #000000;
JSON
{
  "hex": "#288f2c",
  "rgb": {
    "r": 40,
    "g": 143,
    "b": 44
  },
  "hsl": {
    "h": 122.33,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57132,
    "c": 0.16507,
    "h": 143.5
  },
  "luminance": 0.20278
}

Semantic roles & 50–950 ramp

primary
#288F2C
secondary
#B85BB4
accent
#48DAE0
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #288F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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