#28470B#28470B

#28470B is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.0% C 0.093 H 133.5°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#28470B
RGBrgb(40, 71, 11)
HSLhsl(91, 73%, 16%)
HSVhsv(91, 85%, 28%)
CMYKcmyk(43.7%, 0%, 84.5%, 72.2%)
CIE-LABlab(26.68, -22.71, 30.22)
CIE-LCHlch(26.68, 37.81, 126.93°)
OKLaboklab(36.03% -0.0639 0.0674)
OKLCHoklch(36.03% 0.093 133.5)
XYZxyz(3.1887, 4.9816, 1.1101)
Luminance0.0498 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28470B #2A0B47
analogous
#46470B #28470B #0B470C
triadic
#28470B #0B2847 #470B28
tetradic
#28470B #0B4647 #2A0B47 #470C0B
square
#28470B #0B4647 #2A0B47 #470C0B
split-complementary
#28470B #0C0B47 #470B46
monochromatic
#0F1A04 #0F1A04 #28470B #467C13 #64B11B

Accessibility & contrast

On white

10.52
#28470B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#28470B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28470B
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28470B#FFFFFF#000000##FFFFFF
##28470B1.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4101
Deuteranopia (green-blind)
#463E11
Tritanopia (blue-blind)
#28443C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #28470b;
/* rgb */ color: rgb(40, 71, 11);
/* oklch */ color: oklch(36.0% 0.093 133.5);
Tailwind
colors: {
  custom: {
    50: '#657a4f',
    500: '#28470b',
    950: '#000000',
  },
}
SCSS
$custom: #28470b;
$custom-light: #657a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#28470b",
  "rgb": {
    "r": 40,
    "g": 71,
    "b": 11
  },
  "hsl": {
    "h": 91,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.36034,
    "c": 0.09283,
    "h": 133.5
  },
  "luminance": 0.04982
}

Semantic roles & 50–950 ramp

primary
#28470B
secondary
#582A83
accent
#38F097
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #28470B

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

Preview Lab → · Contrast checker → · Palette generator →

#28470B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva