#28400A#28400A

#28400A is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 33.9% C 0.083 H 130.9°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#28400A
RGBrgb(40, 64, 10)
HSLhsl(87, 73%, 15%)
HSVhsv(87, 84%, 25%)
CMYKcmyk(37.5%, 0%, 84.4%, 74.9%)
CIE-LABlab(24.13, -19.22, 28.15)
CIE-LCHlch(24.13, 34.08, 124.33°)
OKLaboklab(33.95% -0.0545 0.0628)
OKLCHoklch(33.95% 0.083 130.9)
XYZxyz(2.7632, 4.1397, 0.9406)
Luminance0.0414 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28400A #220A40
analogous
#403D0A #28400A #0D400A
triadic
#28400A #0A2840 #400A28
tetradic
#28400A #0A403D #220A40 #400A0D
square
#28400A #0A403D #220A40 #400A0D
split-complementary
#28400A #0A0D40 #3D0A40
monochromatic
#111A04 #111A04 #28400A #497512 #6AAA1B

Accessibility & contrast

On white

11.49
#28400A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28400A
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28400A#FFFFFF#000000##FFFFFF
##28400A1.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B02
Deuteranopia (green-blind)
#40390F
Tritanopia (blue-blind)
#293D36
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #28400a;
/* rgb */ color: rgb(40, 64, 10);
/* oklch */ color: oklch(33.9% 0.083 130.9);
Tailwind
colors: {
  custom: {
    50: '#65754e',
    500: '#28400a',
    950: '#000000',
  },
}
SCSS
$custom: #28400a;
$custom-light: #65754e;
$custom-dark: #000000;
JSON
{
  "hex": "#28400a",
  "rgb": {
    "r": 40,
    "g": 64,
    "b": 10
  },
  "hsl": {
    "h": 86.667,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.33946,
    "c": 0.08319,
    "h": 130.9
  },
  "luminance": 0.0414
}

Semantic roles & 50–950 ramp

primary
#28400A
secondary
#4E297D
accent
#38F08A
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #28400A

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

Preview Lab → · Contrast checker → · Palette generator →

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