#28450A#28450A

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

Color values

HEX#28450A
RGBrgb(40, 69, 10)
HSLhsl(89, 75%, 15%)
HSVhsv(89, 86%, 27%)
CMYKcmyk(42%, 0%, 85.5%, 72.9%)
CIE-LABlab(25.95, -21.79, 29.91)
CIE-LCHlch(25.95, 37.00, 126.07°)
OKLaboklab(35.43% -0.0615 0.0665)
OKLCHoklch(35.43% 0.091 132.7)
XYZxyz(3.0579, 4.7291, 1.0388)
Luminance0.0473 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28450A #270A45
analogous
#45440A #28450A #0A450A
triadic
#28450A #0A2845 #450A28
tetradic
#28450A #0A4544 #270A45 #450A0A
square
#28450A #0A4544 #270A45 #450A0A
split-complementary
#28450A #0A0A45 #440A45
monochromatic
#0F1B04 #0F1B04 #28450A #477A12 #66B019

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28450A#FFFFFF#000000##FFFFFF
##28450A1.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)
#483F01
Deuteranopia (green-blind)
#443D10
Tritanopia (blue-blind)
#28423A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #28450a;
/* rgb */ color: rgb(40, 69, 10);
/* oklch */ color: oklch(35.4% 0.091 132.7);
Tailwind
colors: {
  custom: {
    50: '#65794e',
    500: '#28450a',
    950: '#000000',
  },
}
SCSS
$custom: #28450a;
$custom-light: #65794e;
$custom-dark: #000000;
JSON
{
  "hex": "#28450a",
  "rgb": {
    "r": 40,
    "g": 69,
    "b": 10
  },
  "hsl": {
    "h": 89.492,
    "s": 74.684,
    "l": 15.49
  },
  "oklch": {
    "l": 0.35432,
    "c": 0.09057,
    "h": 132.7
  },
  "luminance": 0.04729
}

Semantic roles & 50–950 ramp

primary
#28450A
secondary
#552982
accent
#36F192
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #28450A

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

Preview Lab → · Contrast checker → · Palette generator →

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