#28560D#28560D

#28560D is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.5% C 0.113 H 136.9°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#28560D
RGBrgb(40, 86, 13)
HSLhsl(98, 74%, 19%)
HSVhsv(98, 85%, 34%)
CMYKcmyk(53.5%, 0%, 84.9%, 66.3%)
CIE-LABlab(32.11, -29.56, 34.66)
CIE-LCHlch(32.11, 45.56, 130.46°)
OKLaboklab(40.49% -0.0822 0.077)
OKLCHoklch(40.49% 0.113 136.9)
XYZxyz(4.2754, 7.1355, 1.5327)
Luminance0.0714 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28560D #3B0D56
analogous
#4D560D #28560D #0D5617
triadic
#28560D #0D2856 #560D28
tetradic
#28560D #0D4D56 #3B0D56 #56170D
square
#28560D #0D4D56 #3B0D56 #56170D
split-complementary
#28560D #170D56 #560D4D
monochromatic
#0C1B04 #0F2105 #28560D #418B15 #59C01D

Accessibility & contrast

On white

8.65
#28560D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#28560D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28560D
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28560D#FFFFFF#000000##FFFFFF
##28560D1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E00
Deuteranopia (green-blind)
#534A15
Tritanopia (blue-blind)
#255348
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #28560d;
/* rgb */ color: rgb(40, 86, 13);
/* oklch */ color: oklch(40.5% 0.113 136.9);
Tailwind
colors: {
  custom: {
    50: '#688653',
    500: '#28560d',
    950: '#000000',
  },
}
SCSS
$custom: #28560d;
$custom-light: #688653;
$custom-dark: #000000;
JSON
{
  "hex": "#28560d",
  "rgb": {
    "r": 40,
    "g": 86,
    "b": 13
  },
  "hsl": {
    "h": 97.808,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40495,
    "c": 0.11262,
    "h": 136.9
  },
  "luminance": 0.07136
}

Semantic roles & 50–950 ramp

primary
#28560D
secondary
#6C2E91
accent
#37F0AC
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #28560D

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

Preview Lab → · Contrast checker → · Palette generator →

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