#28400E#28400E

#28400E is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.0% C 0.080 H 131.7°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#28400E
RGBrgb(40, 64, 14)
HSLhsl(89, 64%, 15%)
HSVhsv(89, 78%, 25%)
CMYKcmyk(37.5%, 0%, 78.1%, 74.9%)
CIE-LABlab(24.16, -18.91, 26.41)
CIE-LCHlch(24.16, 32.48, 125.60°)
OKLaboklab(33.98% -0.0533 0.0599)
OKLCHoklch(33.98% 0.08 131.7)
XYZxyz(2.7877, 4.1495, 1.0694)
Luminance0.0415 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28400E #260E40
analogous
#403F0E #28400E #0F400E
triadic
#28400E #0E2840 #400E28
tetradic
#28400E #0E403F #260E40 #400E0F
square
#28400E #0E403F #260E40 #400E0F
split-complementary
#28400E #0E0F40 #3F0E40
monochromatic
#101905 #101905 #28400E #477219 #67A424

Accessibility & contrast

On white

11.48
#28400E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#28400E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28400E
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28400E#FFFFFF#000000##FFFFFF
##28400E1.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B07
Deuteranopia (green-blind)
#403912
Tritanopia (blue-blind)
#293D36
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #28400e;
/* rgb */ color: rgb(40, 64, 14);
/* oklch */ color: oklch(34.0% 0.080 131.7);
Tailwind
colors: {
  custom: {
    50: '#647550',
    500: '#28400e',
    950: '#000000',
  },
}
SCSS
$custom: #28400e;
$custom-light: #647550;
$custom-dark: #000000;
JSON
{
  "hex": "#28400e",
  "rgb": {
    "r": 40,
    "g": 64,
    "b": 14
  },
  "hsl": {
    "h": 88.8,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.33982,
    "c": 0.08016,
    "h": 131.7
  },
  "luminance": 0.0415
}

Semantic roles & 50–950 ramp

primary
#28400E
secondary
#532F7B
accent
#41E791
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #28400E

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

Preview Lab → · Contrast checker → · Palette generator →

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