#28951D#28951D

#28951D is a mid, vivid green. Relative luminance 0.220; OKLCH L 58.7% C 0.181 H 141.8°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#28951D
RGBrgb(40, 149, 29)
HSLhsl(115, 67%, 35%)
HSVhsv(115, 81%, 58%)
CMYKcmyk(73.2%, 0%, 80.5%, 41.6%)
CIE-LABlab(54.06, -52.25, 50.19)
CIE-LCHlch(54.06, 72.45, 136.15°)
OKLaboklab(58.69% -0.1424 0.1119)
OKLCHoklch(58.69% 0.181 141.8)
XYZxyz(11.8436, 22.0334, 4.7909)
Luminance0.2203 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28951D #8A1D95
analogous
#64951D #28951D #1D954E
triadic
#28951D #1D2895 #951D28
tetradic
#28951D #1D6495 #8A1D95 #954E1D
square
#28951D #1D6495 #8A1D95 #954E1D
split-complementary
#28951D #4E1D95 #951D64
monochromatic
#0C2F09 #1A6213 #28951D #36C827 #5DDD50

Accessibility & contrast

On white

3.88
#28951D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#28951D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28951D
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28951D#FFFFFF#000000##000000
##28951D1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#8C7E2B
Tritanopia (blue-blind)
#05907F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #28951d;
/* rgb */ color: rgb(40, 149, 29);
/* oklch */ color: oklch(58.7% 0.181 141.8);
Tailwind
colors: {
  custom: {
    50: '#74b563',
    500: '#28951d',
    950: '#000000',
  },
}
SCSS
$custom: #28951d;
$custom-light: #74b563;
$custom-dark: #000000;
JSON
{
  "hex": "#28951d",
  "rgb": {
    "r": 40,
    "g": 149,
    "b": 29
  },
  "hsl": {
    "h": 114.5,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58688,
    "c": 0.18108,
    "h": 141.8
  },
  "luminance": 0.22035
}

Semantic roles & 50–950 ramp

primary
#28951D
secondary
#B54EC0
accent
#3DEADA
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #28951D

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

Preview Lab → · Contrast checker → · Palette generator →

#28951D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva