#28560C#28560C

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

Color values

HEX#28560C
RGBrgb(40, 86, 12)
HSLhsl(97, 76%, 19%)
HSVhsv(97, 86%, 34%)
CMYKcmyk(53.5%, 0%, 86%, 66.3%)
CIE-LABlab(32.11, -29.63, 35.00)
CIE-LCHlch(32.11, 45.86, 130.24°)
OKLaboklab(40.49% -0.0824 0.0775)
OKLCHoklch(40.49% 0.113 136.7)
XYZxyz(4.2691, 7.1329, 1.4996)
Luminance0.0713 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28560C #3A0C56
analogous
#4D560C #28560C #0C5615
triadic
#28560C #0C2856 #560C28
tetradic
#28560C #0C4D56 #3A0C56 #56150C
square
#28560C #0C4D56 #3A0C56 #56150C
split-complementary
#28560C #150C56 #560C4D
monochromatic
#0C1B04 #0F2005 #28560C #418C13 #5AC11B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28560C#FFFFFF#000000##FFFFFF
##28560C1.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: #28560c;
/* rgb */ color: rgb(40, 86, 12);
/* oklch */ color: oklch(40.5% 0.113 136.7);
Tailwind
colors: {
  custom: {
    50: '#688652',
    500: '#28560c',
    950: '#000000',
  },
}
SCSS
$custom: #28560c;
$custom-light: #688652;
$custom-dark: #000000;
JSON
{
  "hex": "#28560c",
  "rgb": {
    "r": 40,
    "g": 86,
    "b": 12
  },
  "hsl": {
    "h": 97.297,
    "s": 75.51,
    "l": 19.216
  },
  "oklch": {
    "l": 0.40489,
    "c": 0.11315,
    "h": 136.7
  },
  "luminance": 0.07133
}

Semantic roles & 50–950 ramp

primary
#28560C
secondary
#6B2D91
accent
#36F2AB
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060B02
muted
#7A7C78

Preview Lab

Preview with #28560C

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

Preview Lab → · Contrast checker → · Palette generator →

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