#28450E#28450E

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

Color values

HEX#28450E
RGBrgb(40, 69, 14)
HSLhsl(92, 66%, 16%)
HSVhsv(92, 80%, 27%)
CMYKcmyk(42%, 0%, 79.7%, 72.9%)
CIE-LABlab(25.98, -21.49, 28.27)
CIE-LCHlch(25.98, 35.51, 127.24°)
OKLaboklab(35.47% -0.0603 0.0638)
OKLCHoklch(35.47% 0.088 133.4)
XYZxyz(3.0824, 4.7389, 1.1677)
Luminance0.0474 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28450E #2B0E45
analogous
#44450E #28450E #0E4510
triadic
#28450E #0E2845 #450E28
tetradic
#28450E #0E4445 #2B0E45 #45100E
square
#28450E #0E4445 #2B0E45 #45100E
split-complementary
#28450E #100E45 #450E44
monochromatic
#0F1905 #0F1905 #28450E #457818 #63AB23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #28450e;
/* rgb */ color: rgb(40, 69, 14);
/* oklch */ color: oklch(35.5% 0.088 133.4);
Tailwind
colors: {
  custom: {
    50: '#657950',
    500: '#28450e',
    950: '#000000',
  },
}
SCSS
$custom: #28450e;
$custom-light: #657950;
$custom-dark: #000000;
JSON
{
  "hex": "#28450e",
  "rgb": {
    "r": 40,
    "g": 69,
    "b": 14
  },
  "hsl": {
    "h": 91.636,
    "s": 66.265,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35465,
    "c": 0.08779,
    "h": 133.4
  },
  "luminance": 0.04739
}

Semantic roles & 50–950 ramp

primary
#28450E
secondary
#5A2F80
accent
#3FE999
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #28450E

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

Preview Lab → · Contrast checker → · Palette generator →

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