#28450D#28450D

#28450D is a dark, moderate yellow-green. Relative luminance 0.047; OKLCH L 35.5% C 0.089 H 133.2°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#28450D
RGBrgb(40, 69, 13)
HSLhsl(91, 68%, 16%)
HSVhsv(91, 81%, 27%)
CMYKcmyk(42%, 0%, 81.2%, 72.9%)
CIE-LABlab(25.97, -21.57, 28.70)
CIE-LCHlch(25.97, 35.90, 126.93°)
OKLaboklab(35.46% -0.0606 0.0645)
OKLCHoklch(35.46% 0.089 133.2)
XYZxyz(3.0758, 4.7363, 1.1328)
Luminance0.0474 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28450D #2A0D45
analogous
#44450D #28450D #0D450E
triadic
#28450D #0D2845 #450D28
tetradic
#28450D #0D4445 #2A0D45 #450E0D
square
#28450D #0D4445 #2A0D45 #450E0D
split-complementary
#28450D #0E0D45 #450D44
monochromatic
#0F1A05 #0F1A05 #28450D #467817 #64AC20

Accessibility & contrast

On white

10.78
#28450D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28450D
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28450D#FFFFFF#000000##FFFFFF
##28450D1.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28450d;
/* rgb */ color: rgb(40, 69, 13);
/* oklch */ color: oklch(35.5% 0.089 133.2);
Tailwind
colors: {
  custom: {
    50: '#657950',
    500: '#28450d',
    950: '#000000',
  },
}
SCSS
$custom: #28450d;
$custom-light: #657950;
$custom-dark: #000000;
JSON
{
  "hex": "#28450d",
  "rgb": {
    "r": 40,
    "g": 69,
    "b": 13
  },
  "hsl": {
    "h": 91.071,
    "s": 68.293,
    "l": 16.078
  },
  "oklch": {
    "l": 0.35456,
    "c": 0.08852,
    "h": 133.2
  },
  "luminance": 0.04736
}

Semantic roles & 50–950 ramp

primary
#28450D
secondary
#582D80
accent
#3DEB97
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #28450D

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

Preview Lab → · Contrast checker → · Palette generator →

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