#28450C#28450C

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

Color values

HEX#28450C
RGBrgb(40, 69, 12)
HSLhsl(91, 70%, 16%)
HSVhsv(91, 83%, 27%)
CMYKcmyk(42%, 0%, 82.6%, 72.9%)
CIE-LABlab(25.96, -21.65, 29.12)
CIE-LCHlch(25.96, 36.28, 126.63°)
OKLaboklab(35.45% -0.0609 0.0652)
OKLCHoklch(35.45% 0.089 133)
XYZxyz(3.0695, 4.7338, 1.0997)
Luminance0.0473 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28450C #290C45
analogous
#44450C #28450C #0C450C
triadic
#28450C #0C2845 #450C28
tetradic
#28450C #0C4445 #290C45 #450C0C
square
#28450C #0C4445 #290C45 #450C0C
split-complementary
#28450C #0C0C45 #450C44
monochromatic
#0F1A05 #0F1A05 #28450C #467915 #64AD1E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #28450c;
/* rgb */ color: rgb(40, 69, 12);
/* oklch */ color: oklch(35.4% 0.089 133.0);
Tailwind
colors: {
  custom: {
    50: '#65794f',
    500: '#28450c',
    950: '#000000',
  },
}
SCSS
$custom: #28450c;
$custom-light: #65794f;
$custom-dark: #000000;
JSON
{
  "hex": "#28450c",
  "rgb": {
    "r": 40,
    "g": 69,
    "b": 12
  },
  "hsl": {
    "h": 90.526,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.35448,
    "c": 0.08924,
    "h": 133
  },
  "luminance": 0.04734
}

Semantic roles & 50–950 ramp

primary
#28450C
secondary
#572C81
accent
#3BED95
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #28450C

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

Preview Lab → · Contrast checker → · Palette generator →

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