#28590F#28590F

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

Color values

HEX#28590F
RGBrgb(40, 89, 15)
HSLhsl(100, 71%, 20%)
HSVhsv(100, 83%, 35%)
CMYKcmyk(55.1%, 0%, 83.1%, 65.1%)
CIE-LABlab(33.20, -30.74, 34.98)
CIE-LCHlch(33.20, 46.57, 131.31°)
OKLaboklab(41.39% -0.0852 0.078)
OKLCHoklch(41.39% 0.116 137.5)
XYZxyz(4.5335, 7.6300, 1.6857)
Luminance0.0763 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28590F #400F59
analogous
#4D590F #28590F #0F591B
triadic
#28590F #0F2859 #590F28
tetradic
#28590F #0F4D59 #400F59 #591B0F
square
#28590F #0F4D59 #400F59 #591B0F
split-complementary
#28590F #1B0F59 #590F4D
monochromatic
#0C1A04 #102506 #28590F #408D18 #57C221

Accessibility & contrast

On white

8.31
#28590F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28590F
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28590F#FFFFFF#000000##FFFFFF
##28590F1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28590f;
/* rgb */ color: rgb(40, 89, 15);
/* oklch */ color: oklch(41.4% 0.116 137.5);
Tailwind
colors: {
  custom: {
    50: '#688854',
    500: '#28590f',
    950: '#000000',
  },
}
SCSS
$custom: #28590f;
$custom-light: #688854;
$custom-dark: #000000;
JSON
{
  "hex": "#28590f",
  "rgb": {
    "r": 40,
    "g": 89,
    "b": 15
  },
  "hsl": {
    "h": 99.73,
    "s": 71.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.41394,
    "c": 0.11551,
    "h": 137.5
  },
  "luminance": 0.0763
}

Semantic roles & 50–950 ramp

primary
#28590F
secondary
#723193
accent
#3AEEB1
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #28590F

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

Preview Lab → · Contrast checker → · Palette generator →

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