#28560E#28560E

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

Color values

HEX#28560E
RGBrgb(40, 86, 14)
HSLhsl(98, 72%, 20%)
HSVhsv(98, 84%, 34%)
CMYKcmyk(53.5%, 0%, 83.7%, 66.3%)
CIE-LABlab(32.12, -29.50, 34.31)
CIE-LCHlch(32.12, 45.25, 130.69°)
OKLaboklab(40.5% -0.0819 0.0764)
OKLCHoklch(40.5% 0.112 137)
XYZxyz(4.2820, 7.1381, 1.5675)
Luminance0.0714 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28560E #3C0E56
analogous
#4C560E #28560E #0E5618
triadic
#28560E #0E2856 #560E28
tetradic
#28560E #0E4C56 #3C0E56 #56180E
square
#28560E #0E4C56 #3C0E56 #56180E
split-complementary
#28560E #180E56 #560E4C
monochromatic
#0C1A04 #102105 #28560E #408B17 #59BF1F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28560E#FFFFFF#000000##FFFFFF
##28560E1.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)
#534A16
Tritanopia (blue-blind)
#255349
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #28560e;
/* rgb */ color: rgb(40, 86, 14);
/* oklch */ color: oklch(40.5% 0.112 137.0);
Tailwind
colors: {
  custom: {
    50: '#688653',
    500: '#28560e',
    950: '#000000',
  },
}
SCSS
$custom: #28560e;
$custom-light: #688653;
$custom-dark: #000000;
JSON
{
  "hex": "#28560e",
  "rgb": {
    "r": 40,
    "g": 86,
    "b": 14
  },
  "hsl": {
    "h": 98.333,
    "s": 72,
    "l": 19.608
  },
  "oklch": {
    "l": 0.40502,
    "c": 0.11204,
    "h": 137
  },
  "luminance": 0.07138
}

Semantic roles & 50–950 ramp

primary
#28560E
secondary
#6D3090
accent
#39EFAD
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #28560E

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

Preview Lab → · Contrast checker → · Palette generator →

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