#28470A#28470A

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

Color values

HEX#28470A
RGBrgb(40, 71, 10)
HSLhsl(90, 75%, 16%)
HSVhsv(90, 86%, 28%)
CMYKcmyk(43.7%, 0%, 85.9%, 72.2%)
CIE-LABlab(26.68, -22.78, 30.60)
CIE-LCHlch(26.68, 38.15, 126.67°)
OKLaboklab(36.03% -0.0641 0.068)
OKLCHoklch(36.03% 0.093 133.3)
XYZxyz(3.1830, 4.9794, 1.0805)
Luminance0.0498 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28470A #290A47
analogous
#46470A #28470A #0A470A
triadic
#28470A #0A2847 #470A28
tetradic
#28470A #0A4647 #290A47 #470A0A
square
#28470A #0A4647 #290A47 #470A0A
split-complementary
#28470A #0A0A47 #470A46
monochromatic
#0F1B04 #0F1B04 #28470A #467D12 #64B219

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28470A#FFFFFF#000000##FFFFFF
##28470A1.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)
#4A4100
Deuteranopia (green-blind)
#463E11
Tritanopia (blue-blind)
#28443C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #28470a;
/* rgb */ color: rgb(40, 71, 10);
/* oklch */ color: oklch(36.0% 0.093 133.3);
Tailwind
colors: {
  custom: {
    50: '#657a4f',
    500: '#28470a',
    950: '#000000',
  },
}
SCSS
$custom: #28470a;
$custom-light: #657a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#28470a",
  "rgb": {
    "r": 40,
    "g": 71,
    "b": 10
  },
  "hsl": {
    "h": 90.492,
    "s": 75.309,
    "l": 15.882
  },
  "oklch": {
    "l": 0.36027,
    "c": 0.09346,
    "h": 133.3
  },
  "luminance": 0.0498
}

Semantic roles & 50–950 ramp

primary
#28470A
secondary
#572984
accent
#36F295
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #28470A

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

Preview Lab → · Contrast checker → · Palette generator →

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