#28560B#28560B

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

Color values

HEX#28560B
RGBrgb(40, 86, 11)
HSLhsl(97, 77%, 19%)
HSVhsv(97, 87%, 34%)
CMYKcmyk(53.5%, 0%, 87.2%, 66.3%)
CIE-LABlab(32.10, -29.69, 35.33)
CIE-LCHlch(32.10, 46.15, 130.04°)
OKLaboklab(40.48% -0.0826 0.0781)
OKLCHoklch(40.48% 0.114 136.6)
XYZxyz(4.2631, 7.1306, 1.4682)
Luminance0.0713 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28560B #390B56
analogous
#4E560B #28560B #0B5614
triadic
#28560B #0B2856 #560B28
tetradic
#28560B #0B4E56 #390B56 #56140B
square
#28560B #0B4E56 #390B56 #56140B
split-complementary
#28560B #140B56 #560B4E
monochromatic
#0D1B03 #0F2004 #28560B #418C12 #5AC319

Accessibility & contrast

On white

8.66
#28560B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28560B
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28560B#FFFFFF#000000##FFFFFF
##28560B1.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28560b;
/* rgb */ color: rgb(40, 86, 11);
/* oklch */ color: oklch(40.5% 0.114 136.6);
Tailwind
colors: {
  custom: {
    50: '#688652',
    500: '#28560b',
    950: '#000000',
  },
}
SCSS
$custom: #28560b;
$custom-light: #688652;
$custom-dark: #000000;
JSON
{
  "hex": "#28560b",
  "rgb": {
    "r": 40,
    "g": 86,
    "b": 11
  },
  "hsl": {
    "h": 96.8,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.40483,
    "c": 0.11367,
    "h": 136.6
  },
  "luminance": 0.07131
}

Semantic roles & 50–950 ramp

primary
#28560B
secondary
#6A2B91
accent
#34F4AA
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060B02
muted
#7A7C78

Preview Lab

Preview with #28560B

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

Preview Lab → · Contrast checker → · Palette generator →

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