#28420E#28420E

#28420E is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.6% C 0.083 H 132.4°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#28420E
RGBrgb(40, 66, 14)
HSLhsl(90, 65%, 16%)
HSVhsv(90, 79%, 26%)
CMYKcmyk(39.4%, 0%, 78.8%, 74.1%)
CIE-LABlab(24.89, -19.95, 27.16)
CIE-LCHlch(24.89, 33.70, 126.30°)
OKLaboklab(34.58% -0.0561 0.0615)
OKLCHoklch(34.58% 0.083 132.4)
XYZxyz(2.9025, 4.3791, 1.1077)
Luminance0.0438 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28420E #280E42
analogous
#42420E #28420E #0E420E
triadic
#28420E #0E2842 #420E28
tetradic
#28420E #0E4242 #280E42 #420E0E
square
#28420E #0E4242 #280E42 #420E0E
split-complementary
#28420E #0E0E42 #420E42
monochromatic
#0F1905 #0F1905 #28420E #477419 #65A723

Accessibility & contrast

On white

11.20
#28420E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#28420E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28420E
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28420E#FFFFFF#000000##FFFFFF
##28420E1.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C06
Deuteranopia (green-blind)
#423A13
Tritanopia (blue-blind)
#283F38
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #28420e;
/* rgb */ color: rgb(40, 66, 14);
/* oklch */ color: oklch(34.6% 0.083 132.4);
Tailwind
colors: {
  custom: {
    50: '#657650',
    500: '#28420e',
    950: '#000000',
  },
}
SCSS
$custom: #28420e;
$custom-light: #657650;
$custom-dark: #000000;
JSON
{
  "hex": "#28420e",
  "rgb": {
    "r": 40,
    "g": 66,
    "b": 14
  },
  "hsl": {
    "h": 90,
    "s": 65,
    "l": 15.686
  },
  "oklch": {
    "l": 0.34575,
    "c": 0.08324,
    "h": 132.4
  },
  "luminance": 0.04379
}

Semantic roles & 50–950 ramp

primary
#28420E
secondary
#562F7D
accent
#40E894
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #28420E

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

Preview Lab → · Contrast checker → · Palette generator →

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