#28962D#28962D

#28962D is a mid, vivid green. Relative luminance 0.225; OKLCH L 59.1% C 0.173 H 143.6°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#28962D
RGBrgb(40, 150, 45)
HSLhsl(123, 58%, 37%)
HSVhsv(123, 73%, 59%)
CMYKcmyk(73.3%, 0%, 70%, 41.2%)
CIE-LABlab(54.50, -51.30, 44.74)
CIE-LCHlch(54.50, 68.07, 138.91°)
OKLaboklab(59.09% -0.139 0.1026)
OKLCHoklch(59.09% 0.173 143.6)
XYZxyz(12.2543, 22.4519, 6.1699)
Luminance0.2245 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28962D #962891
analogous
#5A9628 #28962D #289664
triadic
#28962D #2D2896 #962D28
tetradic
#28962D #285A96 #962891 #966428
square
#28962D #285A96 #962891 #966428
split-complementary
#28962D #642896 #96285A
monochromatic
#0E3510 #1B661F #28962D #35C63B #63D568

Accessibility & contrast

On white

3.82
#28962D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#28962D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28962D
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28962D#FFFFFF#000000##000000
##28962D1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#99881E
Deuteranopia (green-blind)
#8C7F37
Tritanopia (blue-blind)
#009281
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #28962d;
/* rgb */ color: rgb(40, 150, 45);
/* oklch */ color: oklch(59.1% 0.173 143.6);
Tailwind
colors: {
  custom: {
    50: '#74b66c',
    500: '#28962d',
    950: '#000000',
  },
}
SCSS
$custom: #28962d;
$custom-light: #74b66c;
$custom-dark: #000000;
JSON
{
  "hex": "#28962d",
  "rgb": {
    "r": 40,
    "g": 150,
    "b": 45
  },
  "hsl": {
    "h": 122.727,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.59088,
    "c": 0.1728,
    "h": 143.6
  },
  "luminance": 0.22453
}

Semantic roles & 50–950 ramp

primary
#28962D
secondary
#BB5FB7
accent
#47DAE1
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #28962D

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

Preview Lab → · Contrast checker → · Palette generator →

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