#288024#288024

#288024 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.8% C 0.152 H 142.5°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#288024
RGBrgb(40, 128, 36)
HSLhsl(117, 56%, 32%)
HSVhsv(117, 72%, 50%)
CMYKcmyk(68.8%, 0%, 71.9%, 49.8%)
CIE-LABlab(47.00, -44.38, 40.56)
CIE-LCHlch(47.00, 60.12, 137.58°)
OKLaboklab(52.84% -0.1207 0.0927)
OKLCHoklch(52.84% 0.152 142.5)
XYZxyz(8.9122, 16.0159, 4.2904)
Luminance0.1602 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288024 #7C2480
analogous
#568024 #288024 #24804E
triadic
#288024 #242880 #802428
tetradic
#288024 #245680 #7C2480 #804E24
square
#288024 #245680 #7C2480 #804E24
split-complementary
#288024 #4E2480 #802456
monochromatic
#0A2009 #195017 #288024 #37B031 #56CE50

Accessibility & contrast

On white

5.00
#288024 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#288024 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288024
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288024#FFFFFF#000000##FFFFFF
##2880241.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837416
Deuteranopia (green-blind)
#796D2D
Tritanopia (blue-blind)
#147C6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #288024;
/* rgb */ color: rgb(40, 128, 36);
/* oklch */ color: oklch(52.8% 0.152 142.5);
Tailwind
colors: {
  custom: {
    50: '#6fa664',
    500: '#288024',
    950: '#000000',
  },
}
SCSS
$custom: #288024;
$custom-light: #6fa664;
$custom-dark: #000000;
JSON
{
  "hex": "#288024",
  "rgb": {
    "r": 40,
    "g": 128,
    "b": 36
  },
  "hsl": {
    "h": 117.391,
    "s": 56.098,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52841,
    "c": 0.15222,
    "h": 142.5
  },
  "luminance": 0.16017
}

Semantic roles & 50–950 ramp

primary
#288024
secondary
#AD4EB2
accent
#48DFD9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #288024

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

Preview Lab → · Contrast checker → · Palette generator →

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