#28570D#28570D

#28570D is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 40.8% C 0.114 H 137.0°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#28570D
RGBrgb(40, 87, 13)
HSLhsl(98, 74%, 20%)
HSVhsv(98, 85%, 34%)
CMYKcmyk(54%, 0%, 85.1%, 65.9%)
CIE-LABlab(32.47, -30.00, 35.00)
CIE-LCHlch(32.47, 46.10, 130.60°)
OKLaboklab(40.79% -0.0833 0.0777)
OKLCHoklch(40.79% 0.114 137)
XYZxyz(4.3558, 7.2963, 1.5595)
Luminance0.0730 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28570D #3C0D57
analogous
#4D570D #28570D #0D5717
triadic
#28570D #0D2857 #570D28
tetradic
#28570D #0D4D57 #3C0D57 #57170D
square
#28570D #0D4D57 #3C0D57 #57170D
split-complementary
#28570D #170D57 #570D4D
monochromatic
#0C1B04 #102205 #28570D #408C15 #59C11D

Accessibility & contrast

On white

8.54
#28570D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#28570D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28570D
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28570D#FFFFFF#000000##FFFFFF
##28570D1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F00
Deuteranopia (green-blind)
#544B15
Tritanopia (blue-blind)
#255449
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #28570d;
/* rgb */ color: rgb(40, 87, 13);
/* oklch */ color: oklch(40.8% 0.114 137.0);
Tailwind
colors: {
  custom: {
    50: '#688753',
    500: '#28570d',
    950: '#000000',
  },
}
SCSS
$custom: #28570d;
$custom-light: #688753;
$custom-dark: #000000;
JSON
{
  "hex": "#28570d",
  "rgb": {
    "r": 40,
    "g": 87,
    "b": 13
  },
  "hsl": {
    "h": 98.108,
    "s": 74,
    "l": 19.608
  },
  "oklch": {
    "l": 0.40791,
    "c": 0.11396,
    "h": 137
  },
  "luminance": 0.07297
}

Semantic roles & 50–950 ramp

primary
#28570D
secondary
#6D2E92
accent
#37F1AD
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #28570D

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

Preview Lab → · Contrast checker → · Palette generator →

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