#28951C#28951C

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

Color values

HEX#28951C
RGBrgb(40, 149, 28)
HSLhsl(114, 68%, 35%)
HSVhsv(114, 81%, 58%)
CMYKcmyk(73.2%, 0%, 81.2%, 41.6%)
CIE-LABlab(54.06, -52.32, 50.50)
CIE-LCHlch(54.06, 72.71, 136.01°)
OKLaboklab(58.68% -0.1426 0.1124)
OKLCHoklch(58.68% 0.182 141.8)
XYZxyz(11.8314, 22.0285, 4.7268)
Luminance0.2203 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28951C #891C95
analogous
#64951C #28951C #1C954D
triadic
#28951C #1C2895 #951C28
tetradic
#28951C #1C6495 #891C95 #954D1C
square
#28951C #1C6495 #891C95 #954D1C
split-complementary
#28951C #4D1C95 #951C64
monochromatic
#0C2E09 #1A6112 #28951C #36C926 #5CDE4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28951C#FFFFFF#000000##000000
##28951C1.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: #28951c;
/* rgb */ color: rgb(40, 149, 28);
/* oklch */ color: oklch(58.7% 0.182 141.8);
Tailwind
colors: {
  custom: {
    50: '#74b563',
    500: '#28951c',
    950: '#000000',
  },
}
SCSS
$custom: #28951c;
$custom-light: #74b563;
$custom-dark: #000000;
JSON
{
  "hex": "#28951c",
  "rgb": {
    "r": 40,
    "g": 149,
    "b": 28
  },
  "hsl": {
    "h": 114.05,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58682,
    "c": 0.18156,
    "h": 141.8
  },
  "luminance": 0.2203
}

Semantic roles & 50–950 ramp

primary
#28951C
secondary
#B54DC0
accent
#3DEBDA
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #28951C

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

Preview Lab → · Contrast checker → · Palette generator →

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