#288310#288310

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

Color values

HEX#288310
RGBrgb(40, 131, 16)
HSLhsl(107, 78%, 29%)
HSVhsv(107, 88%, 51%)
CMYKcmyk(69.5%, 0%, 87.8%, 48.6%)
CIE-LABlab(47.91, -46.85, 48.21)
CIE-LCHlch(47.91, 67.23, 134.18°)
OKLaboklab(53.56% -0.1284 0.1059)
OKLCHoklch(53.56% 0.166 140.5)
XYZxyz(9.0844, 16.7202, 3.2387)
Luminance0.1672 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288310 #6B1083
analogous
#628310 #288310 #108332
triadic
#288310 #102883 #831028
tetradic
#288310 #106283 #6B1083 #833210
square
#288310 #106283 #6B1083 #833210
split-complementary
#288310 #321083 #831062
monochromatic
#081B03 #174C09 #288310 #39BA17 #50E529

Accessibility & contrast

On white

4.83
#288310 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #288310
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288310#FFFFFF#000000##FFFFFF
##2883101.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#7C6F20
Tritanopia (blue-blind)
#177E6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #288310;
/* rgb */ color: rgb(40, 131, 16);
/* oklch */ color: oklch(53.6% 0.166 140.5);
Tailwind
colors: {
  custom: {
    50: '#71a85c',
    500: '#288310',
    950: '#000000',
  },
}
SCSS
$custom: #288310;
$custom-light: #71a85c;
$custom-dark: #000000;
JSON
{
  "hex": "#288310",
  "rgb": {
    "r": 40,
    "g": 131,
    "b": 16
  },
  "hsl": {
    "h": 107.478,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53558,
    "c": 0.16643,
    "h": 140.5
  },
  "luminance": 0.16721
}

Semantic roles & 50–950 ramp

primary
#288310
secondary
#9D36B9
accent
#33F5CC
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#091004
muted
#7B7F79

Preview Lab

Preview with #288310

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

Preview Lab → · Contrast checker → · Palette generator →

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