#288725#288725

#288725 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.160 H 142.6°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#288725
RGBrgb(40, 135, 37)
HSLhsl(118, 57%, 34%)
HSVhsv(118, 73%, 53%)
CMYKcmyk(70.4%, 0%, 72.6%, 47.1%)
CIE-LABlab(49.39, -46.81, 42.65)
CIE-LCHlch(49.39, 63.33, 137.67°)
OKLaboklab(54.83% -0.1273 0.0972)
OKLCHoklch(54.83% 0.16 142.6)
XYZxyz(9.8724, 17.9116, 4.6869)
Luminance0.1791 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288725 #842587
analogous
#598725 #288725 #258753
triadic
#288725 #252887 #872528
tetradic
#288725 #255987 #842587 #875325
square
#288725 #255987 #842587 #875325
split-complementary
#288725 #532587 #872559
monochromatic
#0C270B #1A5718 #288725 #36B732 #5AD156

Accessibility & contrast

On white

4.58
#288725 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#288725 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288725
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288725#FFFFFF#000000##000000
##2887251.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A15
Deuteranopia (green-blind)
#7F722F
Tritanopia (blue-blind)
#0F8374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #288725;
/* rgb */ color: rgb(40, 135, 37);
/* oklch */ color: oklch(54.8% 0.160 142.6);
Tailwind
colors: {
  custom: {
    50: '#70ab65',
    500: '#288725',
    950: '#000000',
  },
}
SCSS
$custom: #288725;
$custom-light: #70ab65;
$custom-dark: #000000;
JSON
{
  "hex": "#288725",
  "rgb": {
    "r": 40,
    "g": 135,
    "b": 37
  },
  "hsl": {
    "h": 118.163,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54826,
    "c": 0.16016,
    "h": 142.6
  },
  "luminance": 0.17913
}

Semantic roles & 50–950 ramp

primary
#288725
secondary
#B253B5
accent
#48E0DC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #288725

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

Preview Lab → · Contrast checker → · Palette generator →

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