#288D25#288D25

#288D25 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.5% C 0.167 H 142.6°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#288D25
RGBrgb(40, 141, 37)
HSLhsl(118, 58%, 35%)
HSVhsv(118, 74%, 55%)
CMYKcmyk(71.6%, 0%, 73.8%, 44.7%)
CIE-LABlab(51.42, -48.93, 44.75)
CIE-LCHlch(51.42, 66.30, 137.56°)
OKLaboklab(56.51% -0.133 0.1016)
OKLCHoklch(56.51% 0.167 142.6)
XYZxyz(10.7332, 19.6333, 4.9739)
Luminance0.1963 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288D25 #8A258D
analogous
#5C8D25 #288D25 #258D56
triadic
#288D25 #25288D #8D2528
tetradic
#288D25 #255C8D #8A258D #8D5625
square
#288D25 #255C8D #8A258D #8D5625
split-complementary
#288D25 #56258D #8D255C
monochromatic
#0C2C0C #1A5D18 #288D25 #36BD32 #5DD359

Accessibility & contrast

On white

4.26
#288D25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#288D25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288D25
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288D25#FFFFFF#000000##000000
##288D251.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F13
Deuteranopia (green-blind)
#857730
Tritanopia (blue-blind)
#0A8979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #288d25;
/* rgb */ color: rgb(40, 141, 37);
/* oklch */ color: oklch(56.5% 0.167 142.6);
Tailwind
colors: {
  custom: {
    50: '#72af66',
    500: '#288d25',
    950: '#000000',
  },
}
SCSS
$custom: #288d25;
$custom-light: #72af66;
$custom-dark: #000000;
JSON
{
  "hex": "#288d25",
  "rgb": {
    "r": 40,
    "g": 141,
    "b": 37
  },
  "hsl": {
    "h": 118.269,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.5651,
    "c": 0.16738,
    "h": 142.6
  },
  "luminance": 0.19634
}

Semantic roles & 50–950 ramp

primary
#288D25
secondary
#B556B8
accent
#46E2DD
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #288D25

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

Preview Lab → · Contrast checker → · Palette generator →

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