#28470F#28470F

#28470F is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.1% C 0.090 H 134.2°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#28470F
RGBrgb(40, 71, 15)
HSLhsl(93, 65%, 17%)
HSVhsv(93, 79%, 28%)
CMYKcmyk(43.7%, 0%, 78.9%, 72.2%)
CIE-LABlab(26.71, -22.41, 28.57)
CIE-LCHlch(26.71, 36.31, 128.11°)
OKLaboklab(36.07% -0.0627 0.0646)
OKLCHoklch(36.07% 0.09 134.2)
XYZxyz(3.2145, 4.9919, 1.2460)
Luminance0.0499 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28470F #2E0F47
analogous
#44470F #28470F #0F4712
triadic
#28470F #0F2847 #470F28
tetradic
#28470F #0F4447 #2E0F47 #47120F
square
#28470F #0F4447 #2E0F47 #47120F
split-complementary
#28470F #120F47 #470F44
monochromatic
#0E1905 #0E1905 #28470F #447A1A #61AC24

Accessibility & contrast

On white

10.51
#28470F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28470F
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28470F#FFFFFF#000000##FFFFFF
##28470F1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28470f;
/* rgb */ color: rgb(40, 71, 15);
/* oklch */ color: oklch(36.1% 0.090 134.2);
Tailwind
colors: {
  custom: {
    50: '#657a51',
    500: '#28470f',
    950: '#000000',
  },
}
SCSS
$custom: #28470f;
$custom-light: #657a51;
$custom-dark: #000000;
JSON
{
  "hex": "#28470f",
  "rgb": {
    "r": 40,
    "g": 71,
    "b": 15
  },
  "hsl": {
    "h": 93.214,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.36068,
    "c": 0.09002,
    "h": 134.2
  },
  "luminance": 0.04992
}

Semantic roles & 50–950 ramp

primary
#28470F
secondary
#5D3081
accent
#40E89D
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #28470F

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

Preview Lab → · Contrast checker → · Palette generator →

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