#28490D#28490D

#28490D is a dark, moderate yellow-green. Relative luminance 0.052; OKLCH L 36.6% C 0.094 H 134.3°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#28490D
RGBrgb(40, 73, 13)
HSLhsl(93, 70%, 17%)
HSVhsv(93, 82%, 29%)
CMYKcmyk(45.2%, 0%, 82.2%, 71.4%)
CIE-LABlab(27.42, -23.55, 30.14)
CIE-LCHlch(27.42, 38.25, 128.00°)
OKLaboklab(36.64% -0.066 0.0675)
OKLCHoklch(36.64% 0.094 134.3)
XYZxyz(3.3302, 5.2451, 1.2176)
Luminance0.0524 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28490D #2E0D49
analogous
#46490D #28490D #0D4910
triadic
#28490D #0D2849 #490D28
tetradic
#28490D #0D4649 #2E0D49 #49100D
square
#28490D #0D4649 #2E0D49 #49100D
split-complementary
#28490D #100D49 #490D46
monochromatic
#0E1A05 #0E1A05 #28490D #447D16 #61B120

Accessibility & contrast

On white

10.25
#28490D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#28490D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28490D
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28490D#FFFFFF#000000##FFFFFF
##28490D1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4203
Deuteranopia (green-blind)
#484013
Tritanopia (blue-blind)
#28463D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #28490d;
/* rgb */ color: rgb(40, 73, 13);
/* oklch */ color: oklch(36.6% 0.094 134.3);
Tailwind
colors: {
  custom: {
    50: '#667c50',
    500: '#28490d',
    950: '#000000',
  },
}
SCSS
$custom: #28490d;
$custom-light: #667c50;
$custom-dark: #000000;
JSON
{
  "hex": "#28490d",
  "rgb": {
    "r": 40,
    "g": 73,
    "b": 13
  },
  "hsl": {
    "h": 93,
    "s": 69.767,
    "l": 16.863
  },
  "oklch": {
    "l": 0.36644,
    "c": 0.09442,
    "h": 134.3
  },
  "luminance": 0.05245
}

Semantic roles & 50–950 ramp

primary
#28490D
secondary
#5D2D84
accent
#3BED9D
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #28490D

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

Preview Lab → · Contrast checker → · Palette generator →

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