#28491E#28491E

#28491E is a dark, moderate green. Relative luminance 0.053; OKLCH L 36.8% C 0.079 H 138.9°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#28491E
RGBrgb(40, 73, 30)
HSLhsl(106, 42%, 20%)
HSVhsv(106, 59%, 29%)
CMYKcmyk(45.2%, 0%, 58.9%, 71.4%)
CIE-LABlab(27.60, -21.71, 21.80)
CIE-LCHlch(27.60, 30.77, 134.88°)
OKLaboklab(36.85% -0.0596 0.052)
OKLCHoklch(36.85% 0.079 138.9)
XYZxyz(3.4918, 5.3097, 2.0689)
Luminance0.0531 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28491E #3F1E49
analogous
#3D491E #28491E #1E492A
triadic
#28491E #1E2849 #491E28
tetradic
#28491E #1E3D49 #3F1E49 #492A1E
square
#28491E #1E3D49 #3F1E49 #492A1E
split-complementary
#28491E #2A1E49 #491E3D
monochromatic
#0C1609 #101E0C #28491E #407430 #58A042

Accessibility & contrast

On white

10.18
#28491E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#28491E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28491E
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28491E#FFFFFF#000000##FFFFFF
##28491E1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B431A
Deuteranopia (green-blind)
#474021
Tritanopia (blue-blind)
#26473F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #28491e;
/* rgb */ color: rgb(40, 73, 30);
/* oklch */ color: oklch(36.8% 0.079 138.9);
Tailwind
colors: {
  custom: {
    50: '#647c5b',
    500: '#28491e',
    950: '#000000',
  },
}
SCSS
$custom: #28491e;
$custom-light: #647c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#28491e",
  "rgb": {
    "r": 40,
    "g": 73,
    "b": 30
  },
  "hsl": {
    "h": 106.047,
    "s": 41.748,
    "l": 20.196
  },
  "oklch": {
    "l": 0.36846,
    "c": 0.07909,
    "h": 138.9
  },
  "luminance": 0.0531
}

Semantic roles & 50–950 ramp

primary
#28491E
secondary
#71457E
accent
#56D2B5
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060904
muted
#7A7B79

Preview Lab

Preview with #28491E

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

Preview Lab → · Contrast checker → · Palette generator →

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