#288121#288121

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

Color values

HEX#288121
RGBrgb(40, 129, 33)
HSLhsl(116, 59%, 32%)
HSVhsv(116, 74%, 51%)
CMYKcmyk(69%, 0%, 74.4%, 49.4%)
CIE-LABlab(47.31, -45.02, 42.11)
CIE-LCHlch(47.31, 61.64, 136.91°)
OKLaboklab(53.1% -0.1226 0.0956)
OKLCHoklch(53.1% 0.155 142.1)
XYZxyz(8.9993, 16.2605, 4.1029)
Luminance0.1626 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288121 #7A2181
analogous
#588121 #288121 #21814A
triadic
#288121 #212881 #812128
tetradic
#288121 #215881 #7A2181 #814A21
square
#288121 #215881 #7A2181 #814A21
split-complementary
#288121 #4A2181 #812158
monochromatic
#0A2008 #195015 #288121 #37B22D #55D14B

Accessibility & contrast

On white

4.94
#288121 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#288121 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288121
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288121#FFFFFF#000000##FFFFFF
##2881211.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847510
Deuteranopia (green-blind)
#7A6D2B
Tritanopia (blue-blind)
#147D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #288121;
/* rgb */ color: rgb(40, 129, 33);
/* oklch */ color: oklch(53.1% 0.155 142.1);
Tailwind
colors: {
  custom: {
    50: '#6fa663',
    500: '#288121',
    950: '#000000',
  },
}
SCSS
$custom: #288121;
$custom-light: #6fa663;
$custom-dark: #000000;
JSON
{
  "hex": "#288121",
  "rgb": {
    "r": 40,
    "g": 129,
    "b": 33
  },
  "hsl": {
    "h": 115.625,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53098,
    "c": 0.15546,
    "h": 142.1
  },
  "luminance": 0.16261
}

Semantic roles & 50–950 ramp

primary
#288121
secondary
#AC4AB4
accent
#45E2D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #288121

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

Preview Lab → · Contrast checker → · Palette generator →

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