#28590C#28590C

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

Color values

HEX#28590C
RGBrgb(40, 89, 12)
HSLhsl(98, 76%, 20%)
HSVhsv(98, 87%, 35%)
CMYKcmyk(55.1%, 0%, 86.5%, 65.1%)
CIE-LABlab(33.18, -30.93, 36.00)
CIE-LCHlch(33.18, 47.47, 130.67°)
OKLaboklab(41.37% -0.0859 0.0796)
OKLCHoklch(41.37% 0.117 137.2)
XYZxyz(4.5137, 7.6221, 1.5811)
Luminance0.0762 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28590C #3D0C59
analogous
#4F590C #28590C #0C5917
triadic
#28590C #0C2859 #590C28
tetradic
#28590C #0C4F59 #3D0C59 #59170C
square
#28590C #0C4F59 #3D0C59 #59170C
split-complementary
#28590C #170C59 #590C4F
monochromatic
#0C1B04 #102305 #28590C #408F13 #58C51B

Accessibility & contrast

On white

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

On black

2.52
#28590C on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##28590C#FFFFFF#000000##FFFFFF
##28590C1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28590c;
/* rgb */ color: rgb(40, 89, 12);
/* oklch */ color: oklch(41.4% 0.117 137.2);
Tailwind
colors: {
  custom: {
    50: '#688853',
    500: '#28590c',
    950: '#000000',
  },
}
SCSS
$custom: #28590c;
$custom-light: #688853;
$custom-dark: #000000;
JSON
{
  "hex": "#28590c",
  "rgb": {
    "r": 40,
    "g": 89,
    "b": 12
  },
  "hsl": {
    "h": 98.182,
    "s": 76.238,
    "l": 19.804
  },
  "oklch": {
    "l": 0.41374,
    "c": 0.11715,
    "h": 137.2
  },
  "luminance": 0.07622
}

Semantic roles & 50–950 ramp

primary
#28590C
secondary
#6E2D94
accent
#35F3AE
background
#F6F8F4
surface
#EBF0E7
border
#C6CBC3
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #28590C

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

Preview Lab → · Contrast checker → · Palette generator →

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