#28962E#28962E

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

Color values

HEX#28962E
RGBrgb(40, 150, 46)
HSLhsl(123, 58%, 37%)
HSVhsv(123, 73%, 59%)
CMYKcmyk(73.3%, 0%, 69.3%, 41.2%)
CIE-LABlab(54.51, -51.20, 44.33)
CIE-LCHlch(54.51, 67.73, 139.12°)
OKLaboklab(59.1% -0.1387 0.1019)
OKLCHoklch(59.1% 0.172 143.7)
XYZxyz(12.2738, 22.4597, 6.2725)
Luminance0.2246 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28962E #962890
analogous
#599628 #28962E #289665
triadic
#28962E #2E2896 #962E28
tetradic
#28962E #285996 #962890 #966528
square
#28962E #285996 #962890 #966528
split-complementary
#28962E #652896 #962859
monochromatic
#0E3510 #1B661F #28962E #35C63D #63D569

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28962E#FFFFFF#000000##000000
##28962E1.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)
#99881F
Deuteranopia (green-blind)
#8C7F38
Tritanopia (blue-blind)
#009281
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #28962e;
/* rgb */ color: rgb(40, 150, 46);
/* oklch */ color: oklch(59.1% 0.172 143.7);
Tailwind
colors: {
  custom: {
    50: '#74b66c',
    500: '#28962e',
    950: '#000000',
  },
}
SCSS
$custom: #28962e;
$custom-light: #74b66c;
$custom-dark: #000000;
JSON
{
  "hex": "#28962e",
  "rgb": {
    "r": 40,
    "g": 150,
    "b": 46
  },
  "hsl": {
    "h": 123.273,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.59097,
    "c": 0.17212,
    "h": 143.7
  },
  "luminance": 0.22461
}

Semantic roles & 50–950 ramp

primary
#28962E
secondary
#BB5FB6
accent
#47D9E1
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #28962E

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

Preview Lab → · Contrast checker → · Palette generator →

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