#28450F#28450F

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

Color values

HEX#28450F
RGBrgb(40, 69, 15)
HSLhsl(92, 64%, 16%)
HSVhsv(92, 78%, 27%)
CMYKcmyk(42%, 0%, 78.3%, 72.9%)
CIE-LABlab(25.99, -21.40, 27.83)
CIE-LCHlch(25.99, 35.11, 127.57°)
OKLaboklab(35.47% -0.06 0.063)
OKLCHoklch(35.47% 0.087 133.6)
XYZxyz(3.0894, 4.7417, 1.2043)
Luminance0.0474 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28450F #2C0F45
analogous
#43450F #28450F #0F4511
triadic
#28450F #0F2845 #450F28
tetradic
#28450F #0F4345 #2C0F45 #45110F
square
#28450F #0F4345 #2C0F45 #45110F
split-complementary
#28450F #110F45 #450F43
monochromatic
#0F1905 #0F1905 #28450F #45771A #62AA25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28450F#FFFFFF#000000##FFFFFF
##28450F1.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)
#483F07
Deuteranopia (green-blind)
#443D14
Tritanopia (blue-blind)
#28423A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #28450f;
/* rgb */ color: rgb(40, 69, 15);
/* oklch */ color: oklch(35.5% 0.087 133.6);
Tailwind
colors: {
  custom: {
    50: '#657951',
    500: '#28450f',
    950: '#000000',
  },
}
SCSS
$custom: #28450f;
$custom-light: #657951;
$custom-dark: #000000;
JSON
{
  "hex": "#28450f",
  "rgb": {
    "r": 40,
    "g": 69,
    "b": 15
  },
  "hsl": {
    "h": 92.222,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.35474,
    "c": 0.08701,
    "h": 133.6
  },
  "luminance": 0.04742
}

Semantic roles & 50–950 ramp

primary
#28450F
secondary
#5B307F
accent
#41E79A
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #28450F

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

Preview Lab → · Contrast checker → · Palette generator →

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