#288524#288524

#288524 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.3% C 0.158 H 142.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#288524
RGBrgb(40, 133, 36)
HSLhsl(118, 57%, 33%)
HSVhsv(118, 73%, 52%)
CMYKcmyk(69.9%, 0%, 72.9%, 47.8%)
CIE-LABlab(48.70, -46.19, 42.34)
CIE-LCHlch(48.70, 62.66, 137.49°)
OKLaboklab(54.25% -0.1256 0.0965)
OKLCHoklch(54.25% 0.158 142.5)
XYZxyz(9.5805, 17.3525, 4.5132)
Luminance0.1735 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288524 #812485
analogous
#588524 #288524 #248550
triadic
#288524 #242885 #852428
tetradic
#288524 #245885 #812485 #855024
square
#288524 #245885 #812485 #855024
split-complementary
#288524 #502485 #852458
monochromatic
#0B250A #1A5517 #288524 #36B531 #58D053

Accessibility & contrast

On white

4.70
#288524 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#288524 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288524
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288524#FFFFFF#000000##FFFFFF
##2885241.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887814
Deuteranopia (green-blind)
#7D712E
Tritanopia (blue-blind)
#118172
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #288524;
/* rgb */ color: rgb(40, 133, 36);
/* oklch */ color: oklch(54.3% 0.158 142.5);
Tailwind
colors: {
  custom: {
    50: '#70a965',
    500: '#288524',
    950: '#000000',
  },
}
SCSS
$custom: #288524;
$custom-light: #70a965;
$custom-dark: #000000;
JSON
{
  "hex": "#288524",
  "rgb": {
    "r": 40,
    "g": 133,
    "b": 36
  },
  "hsl": {
    "h": 117.526,
    "s": 57.396,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54254,
    "c": 0.15839,
    "h": 142.5
  },
  "luminance": 0.17354
}

Semantic roles & 50–950 ramp

primary
#288524
secondary
#B050B4
accent
#47E1DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #288524

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

Preview Lab → · Contrast checker → · Palette generator →

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