#288B25#288B25

#288B25 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.0% C 0.165 H 142.6°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#288B25
RGBrgb(40, 139, 37)
HSLhsl(118, 58%, 35%)
HSVhsv(118, 73%, 55%)
CMYKcmyk(71.2%, 0%, 73.4%, 45.5%)
CIE-LABlab(50.74, -48.23, 44.05)
CIE-LCHlch(50.74, 65.32, 137.59°)
OKLaboklab(55.95% -0.1311 0.1002)
OKLCHoklch(55.95% 0.165 142.6)
XYZxyz(10.4410, 19.0488, 4.8764)
Luminance0.1905 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288B25 #88258B
analogous
#5B8B25 #288B25 #258B55
triadic
#288B25 #25288B #8B2528
tetradic
#288B25 #255B8B #88258B #8B5525
square
#288B25 #255B8B #88258B #8B5525
split-complementary
#288B25 #55258B #8B255B
monochromatic
#0C2A0B #1A5B18 #288B25 #36BB32 #5BD358

Accessibility & contrast

On white

4.37
#288B25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#288B25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288B25
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288B25#FFFFFF#000000##000000
##288B251.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E14
Deuteranopia (green-blind)
#83762F
Tritanopia (blue-blind)
#0C8777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #288b25;
/* rgb */ color: rgb(40, 139, 37);
/* oklch */ color: oklch(56.0% 0.165 142.6);
Tailwind
colors: {
  custom: {
    50: '#71ae66',
    500: '#288b25',
    950: '#000000',
  },
}
SCSS
$custom: #288b25;
$custom-light: #71ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#288b25",
  "rgb": {
    "r": 40,
    "g": 139,
    "b": 37
  },
  "hsl": {
    "h": 118.235,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.5595,
    "c": 0.16499,
    "h": 142.6
  },
  "luminance": 0.1905
}

Semantic roles & 50–950 ramp

primary
#288B25
secondary
#B455B7
accent
#47E1DD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #288B25

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

Preview Lab → · Contrast checker → · Palette generator →

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