#288F29#288F29

#288F29 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.1% C 0.167 H 143.1°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#288F29
RGBrgb(40, 143, 41)
HSLhsl(121, 56%, 36%)
HSVhsv(121, 72%, 56%)
CMYKcmyk(72%, 0%, 71.3%, 43.9%)
CIE-LABlab(52.12, -49.26, 43.87)
CIE-LCHlch(52.12, 65.97, 138.31°)
OKLaboklab(57.1% -0.1337 0.1003)
OKLCHoklch(57.1% 0.167 143.1)
XYZxyz(11.0971, 20.2549, 5.4222)
Luminance0.2026 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288F29 #8F288E
analogous
#5A8F28 #288F29 #288F5C
triadic
#288F29 #29288F #8F2928
tetradic
#288F29 #285A8F #8F288E #8F5C28
square
#288F29 #285A8F #8F288E #8F5C28
split-complementary
#288F29 #5C288F #8F285A
monochromatic
#0D2F0E #1B5F1B #288F29 #35BF37 #5FD260

Accessibility & contrast

On white

4.16
#288F29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#288F29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288F29
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288F29#FFFFFF#000000##000000
##288F291.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811A
Deuteranopia (green-blind)
#867933
Tritanopia (blue-blind)
#058B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #288f29;
/* rgb */ color: rgb(40, 143, 41);
/* oklch */ color: oklch(57.1% 0.167 143.1);
Tailwind
colors: {
  custom: {
    50: '#72b169',
    500: '#288f29',
    950: '#000000',
  },
}
SCSS
$custom: #288f29;
$custom-light: #72b169;
$custom-dark: #000000;
JSON
{
  "hex": "#288f29",
  "rgb": {
    "r": 40,
    "g": 143,
    "b": 41
  },
  "hsl": {
    "h": 120.583,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57104,
    "c": 0.16715,
    "h": 143.1
  },
  "luminance": 0.20256
}

Semantic roles & 50–950 ramp

primary
#288F29
secondary
#B85BB7
accent
#48DEE0
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #288F29

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

Preview Lab → · Contrast checker → · Palette generator →

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