#28450B#28450B

#28450B is a dark, moderate yellow-green. Relative luminance 0.047; OKLCH L 35.4% C 0.090 H 132.9°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#28450B
RGBrgb(40, 69, 11)
HSLhsl(90, 73%, 16%)
HSVhsv(90, 84%, 27%)
CMYKcmyk(42%, 0%, 84.1%, 72.9%)
CIE-LABlab(25.96, -21.72, 29.52)
CIE-LCHlch(25.96, 36.65, 126.34°)
OKLaboklab(35.44% -0.0612 0.0659)
OKLCHoklch(35.44% 0.09 132.9)
XYZxyz(3.0636, 4.7314, 1.0684)
Luminance0.0473 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28450B #280B45
analogous
#45450B #28450B #0B450B
triadic
#28450B #0B2845 #450B28
tetradic
#28450B #0B4545 #280B45 #450B0B
square
#28450B #0B4545 #280B45 #450B0B
split-complementary
#28450B #0B0B45 #450B45
monochromatic
#0F1A04 #0F1A04 #28450B #477A13 #65AF1C

Accessibility & contrast

On white

10.79
#28450B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#28450B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28450B
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28450B#FFFFFF#000000##FFFFFF
##28450B1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F02
Deuteranopia (green-blind)
#443D11
Tritanopia (blue-blind)
#28423A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #28450b;
/* rgb */ color: rgb(40, 69, 11);
/* oklch */ color: oklch(35.4% 0.090 132.9);
Tailwind
colors: {
  custom: {
    50: '#65794f',
    500: '#28450b',
    950: '#000000',
  },
}
SCSS
$custom: #28450b;
$custom-light: #65794f;
$custom-dark: #000000;
JSON
{
  "hex": "#28450b",
  "rgb": {
    "r": 40,
    "g": 69,
    "b": 11
  },
  "hsl": {
    "h": 90,
    "s": 72.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.3544,
    "c": 0.08992,
    "h": 132.9
  },
  "luminance": 0.04732
}

Semantic roles & 50–950 ramp

primary
#28450B
secondary
#562A81
accent
#39EF94
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #28450B

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

Preview Lab → · Contrast checker → · Palette generator →

#28450B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva