#28590D#28590D

#28590D is a dark, moderate yellow-green. Relative luminance 0.076; OKLCH L 41.4% C 0.117 H 137.3°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#28590D
RGBrgb(40, 89, 13)
HSLhsl(99, 75%, 20%)
HSVhsv(99, 85%, 35%)
CMYKcmyk(55.1%, 0%, 85.4%, 65.1%)
CIE-LABlab(33.19, -30.87, 35.68)
CIE-LCHlch(33.19, 47.18, 130.87°)
OKLaboklab(41.38% -0.0857 0.0791)
OKLCHoklch(41.38% 0.117 137.3)
XYZxyz(4.5200, 7.6246, 1.6142)
Luminance0.0762 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28590D #3E0D59
analogous
#4E590D #28590D #0D5918
triadic
#28590D #0D2859 #590D28
tetradic
#28590D #0D4E59 #3E0D59 #59180D
square
#28590D #0D4E59 #3E0D59 #59180D
split-complementary
#28590D #180D59 #590D4E
monochromatic
#0C1B04 #102405 #28590D #408E15 #58C41D

Accessibility & contrast

On white

8.32
#28590D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#28590D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28590D
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28590D#FFFFFF#000000##FFFFFF
##28590D1.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5100
Deuteranopia (green-blind)
#564D16
Tritanopia (blue-blind)
#25554B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #28590d;
/* rgb */ color: rgb(40, 89, 13);
/* oklch */ color: oklch(41.4% 0.117 137.3);
Tailwind
colors: {
  custom: {
    50: '#688853',
    500: '#28590d',
    950: '#000000',
  },
}
SCSS
$custom: #28590d;
$custom-light: #688853;
$custom-dark: #000000;
JSON
{
  "hex": "#28590d",
  "rgb": {
    "r": 40,
    "g": 89,
    "b": 13
  },
  "hsl": {
    "h": 98.684,
    "s": 74.51,
    "l": 20
  },
  "oklch": {
    "l": 0.41381,
    "c": 0.11662,
    "h": 137.3
  },
  "luminance": 0.07625
}

Semantic roles & 50–950 ramp

primary
#28590D
secondary
#702E93
accent
#37F1AF
background
#F6F8F4
surface
#EBF0E8
border
#C6CBC4
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #28590D

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

Preview Lab → · Contrast checker → · Palette generator →

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