#288019#288019

#288019 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.8% C 0.159 H 141.1°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#288019
RGBrgb(40, 128, 25)
HSLhsl(111, 67%, 30%)
HSVhsv(111, 80%, 50%)
CMYKcmyk(68.8%, 0%, 80.5%, 49.8%)
CIE-LABlab(46.92, -45.28, 44.66)
CIE-LCHlch(46.92, 63.60, 135.39°)
OKLaboklab(52.75% -0.1237 0.0998)
OKLCHoklch(52.75% 0.159 141.1)
XYZxyz(8.7693, 15.9587, 3.5377)
Luminance0.1596 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288019 #711980
analogous
#5C8019 #288019 #19803D
triadic
#288019 #192880 #801928
tetradic
#288019 #195C80 #711980 #803D19
square
#288019 #195C80 #711980 #803D19
split-complementary
#288019 #3D1980 #80195C
monochromatic
#081A05 #184D0F #288019 #38B323 #52D93B

Accessibility & contrast

On white

5.01
#288019 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#288019 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288019
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288019#FFFFFF#000000##FFFFFF
##2880191.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837400
Deuteranopia (green-blind)
#796D25
Tritanopia (blue-blind)
#177C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #288019;
/* rgb */ color: rgb(40, 128, 25);
/* oklch */ color: oklch(52.8% 0.159 141.1);
Tailwind
colors: {
  custom: {
    50: '#70a65f',
    500: '#288019',
    950: '#000000',
  },
}
SCSS
$custom: #288019;
$custom-light: #70a65f;
$custom-dark: #000000;
JSON
{
  "hex": "#288019",
  "rgb": {
    "r": 40,
    "g": 128,
    "b": 25
  },
  "hsl": {
    "h": 111.262,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.52754,
    "c": 0.15895,
    "h": 141.1
  },
  "luminance": 0.1596
}

Semantic roles & 50–950 ramp

primary
#288019
secondary
#A341B4
accent
#3EEAD1
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #288019

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

Preview Lab → · Contrast checker → · Palette generator →

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