#28560F#28560F

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

Color values

HEX#28560F
RGBrgb(40, 86, 15)
HSLhsl(99, 70%, 20%)
HSVhsv(99, 83%, 34%)
CMYKcmyk(53.5%, 0%, 82.6%, 66.3%)
CIE-LABlab(32.13, -29.43, 33.95)
CIE-LCHlch(32.13, 44.93, 130.92°)
OKLaboklab(40.51% -0.0817 0.0758)
OKLCHoklch(40.51% 0.111 137.1)
XYZxyz(4.2890, 7.1409, 1.6042)
Luminance0.0714 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28560F #3D0F56
analogous
#4C560F #28560F #0F5619
triadic
#28560F #0F2856 #560F28
tetradic
#28560F #0F4C56 #3D0F56 #56190F
square
#28560F #0F4C56 #3D0F56 #56190F
split-complementary
#28560F #190F56 #560F4C
monochromatic
#0C1A05 #102206 #28560F #408A18 #58BE21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28560F#FFFFFF#000000##FFFFFF
##28560F1.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)
#594E02
Deuteranopia (green-blind)
#534A17
Tritanopia (blue-blind)
#255349
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #28560f;
/* rgb */ color: rgb(40, 86, 15);
/* oklch */ color: oklch(40.5% 0.111 137.1);
Tailwind
colors: {
  custom: {
    50: '#678653',
    500: '#28560f',
    950: '#000000',
  },
}
SCSS
$custom: #28560f;
$custom-light: #678653;
$custom-dark: #000000;
JSON
{
  "hex": "#28560f",
  "rgb": {
    "r": 40,
    "g": 86,
    "b": 15
  },
  "hsl": {
    "h": 98.873,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40509,
    "c": 0.11145,
    "h": 137.1
  },
  "luminance": 0.07141
}

Semantic roles & 50–950 ramp

primary
#28560F
secondary
#6E3190
accent
#3BEDAE
background
#F6F8F4
surface
#EBEFE8
border
#C6CAC4
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #28560F

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

Preview Lab → · Contrast checker → · Palette generator →

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