#28580D#28580D

#28580D is a dark, moderate yellow-green. Relative luminance 0.075; OKLCH L 41.1% C 0.115 H 137.1°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#28580D
RGBrgb(40, 88, 13)
HSLhsl(98, 74%, 20%)
HSVhsv(98, 85%, 35%)
CMYKcmyk(54.5%, 0%, 85.2%, 65.5%)
CIE-LABlab(32.83, -30.44, 35.34)
CIE-LCHlch(32.83, 46.64, 130.74°)
OKLaboklab(41.09% -0.0845 0.0784)
OKLCHoklch(41.09% 0.115 137.1)
XYZxyz(4.4373, 7.4593, 1.5867)
Luminance0.0746 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28580D #3D0D58
analogous
#4E580D #28580D #0D5818
triadic
#28580D #0D2858 #580D28
tetradic
#28580D #0D4E58 #3D0D58 #58180D
square
#28580D #0D4E58 #3D0D58 #58180D
split-complementary
#28580D #180D58 #580D4E
monochromatic
#0C1B04 #102305 #28580D #408D15 #58C31D

Accessibility & contrast

On white

8.43
#28580D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#28580D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28580D
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28580D#FFFFFF#000000##FFFFFF
##28580D1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5000
Deuteranopia (green-blind)
#554C16
Tritanopia (blue-blind)
#25554A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #28580d;
/* rgb */ color: rgb(40, 88, 13);
/* oklch */ color: oklch(41.1% 0.115 137.1);
Tailwind
colors: {
  custom: {
    50: '#688853',
    500: '#28580d',
    950: '#000000',
  },
}
SCSS
$custom: #28580d;
$custom-light: #688853;
$custom-dark: #000000;
JSON
{
  "hex": "#28580d",
  "rgb": {
    "r": 40,
    "g": 88,
    "b": 13
  },
  "hsl": {
    "h": 98.4,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.41086,
    "c": 0.11529,
    "h": 137.1
  },
  "luminance": 0.0746
}

Semantic roles & 50–950 ramp

primary
#28580D
secondary
#6E2E93
accent
#37F1AE
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #28580D

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

Preview Lab → · Contrast checker → · Palette generator →

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