#288238#288238

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

Color values

HEX#288238
RGBrgb(40, 130, 56)
HSLhsl(131, 53%, 33%)
HSVhsv(131, 69%, 51%)
CMYKcmyk(69.2%, 0%, 56.9%, 49%)
CIE-LABlab(47.88, -42.73, 32.14)
CIE-LCHlch(47.88, 53.47, 143.06°)
OKLaboklab(53.64% -0.1153 0.0767)
OKLCHoklch(53.64% 0.139 146.4)
XYZxyz(9.5709, 16.7009, 6.4598)
Luminance0.1670 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288238 #822872
analogous
#458228 #288238 #288265
triadic
#288238 #382882 #823828
tetradic
#288238 #284582 #822872 #826528
square
#288238 #284582 #822872 #826528
split-complementary
#288238 #652882 #822845
monochromatic
#0B2410 #1A5324 #288238 #36B14C #59CC6D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288238#FFFFFF#000000##FFFFFF
##2882381.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)
#847631
Deuteranopia (green-blind)
#796F3E
Tritanopia (blue-blind)
#087F71
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #288238;
/* rgb */ color: rgb(40, 130, 56);
/* oklch */ color: oklch(53.6% 0.139 146.4);
Tailwind
colors: {
  custom: {
    50: '#6ea771',
    500: '#288238',
    950: '#000000',
  },
}
SCSS
$custom: #288238;
$custom-light: #6ea771;
$custom-dark: #000000;
JSON
{
  "hex": "#288238",
  "rgb": {
    "r": 40,
    "g": 130,
    "b": 56
  },
  "hsl": {
    "h": 130.667,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53639,
    "c": 0.13854,
    "h": 146.4
  },
  "luminance": 0.16702
}

Semantic roles & 50–950 ramp

primary
#288238
secondary
#B155A1
accent
#4BC3DC
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #288238

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

Preview Lab → · Contrast checker → · Palette generator →

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