#288F19#288F19

#288F19 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.0% C 0.176 H 141.4°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#288F19
RGBrgb(40, 143, 25)
HSLhsl(112, 70%, 33%)
HSVhsv(112, 83%, 56%)
CMYKcmyk(72%, 0%, 82.5%, 43.9%)
CIE-LABlab(52.02, -50.49, 49.50)
CIE-LCHlch(52.02, 70.70, 135.57°)
OKLaboklab(56.99% -0.1378 0.1099)
OKLCHoklch(56.99% 0.176 141.4)
XYZxyz(10.8724, 20.1650, 4.2388)
Luminance0.2017 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288F19 #80198F
analogous
#638F19 #288F19 #198F45
triadic
#288F19 #19288F #8F1928
tetradic
#288F19 #19638F #80198F #8F4519
square
#288F19 #19638F #80198F #8F4519
split-complementary
#288F19 #45198F #8F1963
monochromatic
#0B2707 #195B10 #288F19 #37C322 #58DE44

Accessibility & contrast

On white

4.17
#288F19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#288F19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288F19
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288F19#FFFFFF#000000##000000
##288F191.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#877928
Tritanopia (blue-blind)
#0C8A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #288f19;
/* rgb */ color: rgb(40, 143, 25);
/* oklch */ color: oklch(57.0% 0.176 141.4);
Tailwind
colors: {
  custom: {
    50: '#73b161',
    500: '#288f19',
    950: '#000000',
  },
}
SCSS
$custom: #288f19;
$custom-light: #73b161;
$custom-dark: #000000;
JSON
{
  "hex": "#288f19",
  "rgb": {
    "r": 40,
    "g": 143,
    "b": 25
  },
  "hsl": {
    "h": 112.373,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56988,
    "c": 0.17623,
    "h": 141.4
  },
  "luminance": 0.20166
}

Semantic roles & 50–950 ramp

primary
#288F19
secondary
#B044BF
accent
#3BEDD6
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #288F19

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

Preview Lab → · Contrast checker → · Palette generator →

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