#288C29#288C29

#288C29 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.3% C 0.164 H 143.1°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#288C29
RGBrgb(40, 140, 41)
HSLhsl(121, 56%, 35%)
HSVhsv(121, 71%, 55%)
CMYKcmyk(71.4%, 0%, 70.7%, 45.1%)
CIE-LABlab(51.11, -48.21, 42.81)
CIE-LCHlch(51.11, 64.47, 138.40°)
OKLaboklab(56.27% -0.1308 0.0981)
OKLCHoklch(56.27% 0.164 143.1)
XYZxyz(10.6527, 19.3662, 5.2740)
Luminance0.1937 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288C29 #8C288B
analogous
#598C28 #288C29 #288C5B
triadic
#288C29 #29288C #8C2928
tetradic
#288C29 #28598C #8C288B #8C5B28
square
#288C29 #28598C #8C288B #8C5B28
split-complementary
#288C29 #5B288C #8C2859
monochromatic
#0D2D0D #1A5C1B #288C29 #36BC37 #5ED15F

Accessibility & contrast

On white

4.31
#288C29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#288C29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288C29
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288C29#FFFFFF#000000##000000
##288C291.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F1A
Deuteranopia (green-blind)
#837732
Tritanopia (blue-blind)
#088878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #288c29;
/* rgb */ color: rgb(40, 140, 41);
/* oklch */ color: oklch(56.3% 0.164 143.1);
Tailwind
colors: {
  custom: {
    50: '#71af68',
    500: '#288c29',
    950: '#000000',
  },
}
SCSS
$custom: #288c29;
$custom-light: #71af68;
$custom-dark: #000000;
JSON
{
  "hex": "#288c29",
  "rgb": {
    "r": 40,
    "g": 140,
    "b": 41
  },
  "hsl": {
    "h": 120.6,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56266,
    "c": 0.16353,
    "h": 143.1
  },
  "luminance": 0.19367
}

Semantic roles & 50–950 ramp

primary
#288C29
secondary
#B65AB5
accent
#49DDDF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #288C29

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

Preview Lab → · Contrast checker → · Palette generator →

#288C29 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva