#288519#288519

#288519 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.2% C 0.165 H 141.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#288519
RGBrgb(40, 133, 25)
HSLhsl(112, 68%, 31%)
HSVhsv(112, 81%, 52%)
CMYKcmyk(69.9%, 0%, 81.2%, 47.8%)
CIE-LABlab(48.63, -47.05, 46.30)
CIE-LCHlch(48.63, 66.01, 135.46°)
OKLaboklab(54.17% -0.1285 0.1032)
OKLCHoklch(54.17% 0.165 141.2)
XYZxyz(9.4376, 17.2954, 3.7605)
Luminance0.1730 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288519 #761985
analogous
#5E8519 #288519 #198540
triadic
#288519 #192885 #851928
tetradic
#288519 #195E85 #761985 #854019
square
#288519 #195E85 #761985 #854019
split-complementary
#288519 #401985 #85195E
monochromatic
#091E06 #19510F #288519 #37B923 #54DB3E

Accessibility & contrast

On white

4.71
#288519 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#288519 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288519
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288519#FFFFFF#000000##FFFFFF
##2885191.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#7E7126
Tritanopia (blue-blind)
#148171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #288519;
/* rgb */ color: rgb(40, 133, 25);
/* oklch */ color: oklch(54.2% 0.165 141.2);
Tailwind
colors: {
  custom: {
    50: '#71a95f',
    500: '#288519',
    950: '#000000',
  },
}
SCSS
$custom: #288519;
$custom-light: #71a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#288519",
  "rgb": {
    "r": 40,
    "g": 133,
    "b": 25
  },
  "hsl": {
    "h": 111.667,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54172,
    "c": 0.16481,
    "h": 141.2
  },
  "luminance": 0.17296
}

Semantic roles & 50–950 ramp

primary
#288519
secondary
#A841B9
accent
#3DEBD3
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #288519

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

Preview Lab → · Contrast checker → · Palette generator →

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