#288237#288237

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

Color values

HEX#288237
RGBrgb(40, 130, 55)
HSLhsl(130, 53%, 33%)
HSVhsv(130, 69%, 51%)
CMYKcmyk(69.2%, 0%, 57.7%, 49%)
CIE-LABlab(47.87, -42.88, 32.63)
CIE-LCHlch(47.87, 53.88, 142.73°)
OKLaboklab(53.63% -0.1158 0.0778)
OKLCHoklch(53.63% 0.139 146.1)
XYZxyz(9.5466, 16.6912, 6.3323)
Luminance0.1669 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288237 #822873
analogous
#468228 #288237 #288264
triadic
#288237 #372882 #823728
tetradic
#288237 #284682 #822873 #826428
square
#288237 #284682 #822873 #826428
split-complementary
#288237 #642882 #822846
monochromatic
#0B240F #1A5323 #288237 #36B14B #59CC6C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288237#FFFFFF#000000##FFFFFF
##2882371.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)
#847630
Deuteranopia (green-blind)
#796F3D
Tritanopia (blue-blind)
#097F71
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #288237;
/* rgb */ color: rgb(40, 130, 55);
/* oklch */ color: oklch(53.6% 0.139 146.1);
Tailwind
colors: {
  custom: {
    50: '#6ea770',
    500: '#288237',
    950: '#000000',
  },
}
SCSS
$custom: #288237;
$custom-light: #6ea770;
$custom-dark: #000000;
JSON
{
  "hex": "#288237",
  "rgb": {
    "r": 40,
    "g": 130,
    "b": 55
  },
  "hsl": {
    "h": 130,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53625,
    "c": 0.13946,
    "h": 146.1
  },
  "luminance": 0.16692
}

Semantic roles & 50–950 ramp

primary
#288237
secondary
#B155A2
accent
#4BC4DC
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #288237

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

Preview Lab → · Contrast checker → · Palette generator →

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