#28580F#28580F

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

Color values

HEX#28580F
RGBrgb(40, 88, 15)
HSLhsl(99, 71%, 20%)
HSVhsv(99, 83%, 35%)
CMYKcmyk(54.5%, 0%, 83%, 65.5%)
CIE-LABlab(32.84, -30.31, 34.64)
CIE-LCHlch(32.84, 46.02, 131.18°)
OKLaboklab(41.1% -0.084 0.0773)
OKLCHoklch(41.1% 0.114 137.4)
XYZxyz(4.4509, 7.4647, 1.6581)
Luminance0.0746 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28580F #3F0F58
analogous
#4C580F #28580F #0F581A
triadic
#28580F #0F2858 #580F28
tetradic
#28580F #0F4C58 #3F0F58 #581A0F
square
#28580F #0F4C58 #3F0F58 #581A0F
split-complementary
#28580F #1A0F58 #580F4C
monochromatic
#0C1A04 #102406 #28580F #408C18 #58C121

Accessibility & contrast

On white

8.42
#28580F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28580F
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28580F#FFFFFF#000000##FFFFFF
##28580F1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28580f;
/* rgb */ color: rgb(40, 88, 15);
/* oklch */ color: oklch(41.1% 0.114 137.4);
Tailwind
colors: {
  custom: {
    50: '#688854',
    500: '#28580f',
    950: '#000000',
  },
}
SCSS
$custom: #28580f;
$custom-light: #688854;
$custom-dark: #000000;
JSON
{
  "hex": "#28580f",
  "rgb": {
    "r": 40,
    "g": 88,
    "b": 15
  },
  "hsl": {
    "h": 99.452,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.41099,
    "c": 0.11416,
    "h": 137.4
  },
  "luminance": 0.07465
}

Semantic roles & 50–950 ramp

primary
#28580F
secondary
#713192
accent
#3AEEB0
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #28580F

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

Preview Lab → · Contrast checker → · Palette generator →

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