#288124#288124

#288124 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.1% C 0.153 H 142.5°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#288124
RGBrgb(40, 129, 36)
HSLhsl(117, 56%, 32%)
HSVhsv(117, 72%, 51%)
CMYKcmyk(69%, 0%, 72.1%, 49.4%)
CIE-LABlab(47.34, -44.74, 40.91)
CIE-LCHlch(47.34, 60.63, 137.56°)
OKLaboklab(53.12% -0.1217 0.0935)
OKLCHoklch(53.12% 0.153 142.5)
XYZxyz(9.0433, 16.2781, 4.3341)
Luminance0.1628 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288124 #7D2481
analogous
#578124 #288124 #24814E
triadic
#288124 #242881 #812428
tetradic
#288124 #245781 #7D2481 #814E24
square
#288124 #245781 #7D2481 #814E24
split-complementary
#288124 #4E2481 #812457
monochromatic
#0A2109 #195117 #288124 #37B131 #56CE51

Accessibility & contrast

On white

4.93
#288124 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#288124 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288124
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288124#FFFFFF#000000##FFFFFF
##2881241.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847516
Deuteranopia (green-blind)
#796D2D
Tritanopia (blue-blind)
#137D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #288124;
/* rgb */ color: rgb(40, 129, 36);
/* oklch */ color: oklch(53.1% 0.153 142.5);
Tailwind
colors: {
  custom: {
    50: '#6fa664',
    500: '#288124',
    950: '#000000',
  },
}
SCSS
$custom: #288124;
$custom-light: #6fa664;
$custom-dark: #000000;
JSON
{
  "hex": "#288124",
  "rgb": {
    "r": 40,
    "g": 129,
    "b": 36
  },
  "hsl": {
    "h": 117.419,
    "s": 56.364,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53124,
    "c": 0.15347,
    "h": 142.5
  },
  "luminance": 0.16279
}

Semantic roles & 50–950 ramp

primary
#288124
secondary
#AE4EB2
accent
#48E0D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #288124

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

Preview Lab → · Contrast checker → · Palette generator →

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