#288239#288239

#288239 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.7% C 0.138 H 146.6°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#288239
RGBrgb(40, 130, 57)
HSLhsl(131, 53%, 33%)
HSVhsv(131, 69%, 51%)
CMYKcmyk(69.2%, 0%, 56.2%, 49%)
CIE-LABlab(47.89, -42.59, 31.64)
CIE-LCHlch(47.89, 53.05, 143.39°)
OKLaboklab(53.65% -0.1149 0.0757)
OKLCHoklch(53.65% 0.138 146.6)
XYZxyz(9.5956, 16.7108, 6.5899)
Luminance0.1671 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288239 #822871
analogous
#448228 #288239 #288266
triadic
#288239 #392882 #823928
tetradic
#288239 #284482 #822871 #826628
square
#288239 #284482 #822871 #826628
split-complementary
#288239 #662882 #822844
monochromatic
#0B2410 #1A5324 #288239 #36B14E #59CC6E

Accessibility & contrast

On white

4.84
#288239 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#288239 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288239
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288239#FFFFFF#000000##FFFFFF
##2882391.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847632
Deuteranopia (green-blind)
#796F3F
Tritanopia (blue-blind)
#077F72
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #288239;
/* rgb */ color: rgb(40, 130, 57);
/* oklch */ color: oklch(53.7% 0.138 146.6);
Tailwind
colors: {
  custom: {
    50: '#6ea771',
    500: '#288239',
    950: '#000000',
  },
}
SCSS
$custom: #288239;
$custom-light: #6ea771;
$custom-dark: #000000;
JSON
{
  "hex": "#288239",
  "rgb": {
    "r": 40,
    "g": 130,
    "b": 57
  },
  "hsl": {
    "h": 131.333,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53654,
    "c": 0.13763,
    "h": 146.6
  },
  "luminance": 0.16712
}

Semantic roles & 50–950 ramp

primary
#288239
secondary
#B155A0
accent
#4BC1DC
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #288239

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

Preview Lab → · Contrast checker → · Palette generator →

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