#28570F#28570F

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

Color values

HEX#28570F
RGBrgb(40, 87, 15)
HSLhsl(99, 71%, 20%)
HSVhsv(99, 83%, 34%)
CMYKcmyk(54%, 0%, 82.8%, 65.9%)
CIE-LABlab(32.48, -29.87, 34.29)
CIE-LCHlch(32.48, 45.48, 131.06°)
OKLaboklab(40.8% -0.0829 0.0766)
OKLCHoklch(40.8% 0.113 137.3)
XYZxyz(4.3694, 7.3017, 1.6310)
Luminance0.0730 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28570F #3E0F57
analogous
#4C570F #28570F #0F571A
triadic
#28570F #0F2857 #570F28
tetradic
#28570F #0F4C57 #3E0F57 #571A0F
square
#28570F #0F4C57 #3E0F57 #571A0F
split-complementary
#28570F #1A0F57 #570F4C
monochromatic
#0C1A05 #102306 #28570F #408B18 #58BF21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28570F#FFFFFF#000000##FFFFFF
##28570F1.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)
#5A4F01
Deuteranopia (green-blind)
#544B17
Tritanopia (blue-blind)
#255449
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #28570f;
/* rgb */ color: rgb(40, 87, 15);
/* oklch */ color: oklch(40.8% 0.113 137.3);
Tailwind
colors: {
  custom: {
    50: '#688754',
    500: '#28570f',
    950: '#000000',
  },
}
SCSS
$custom: #28570f;
$custom-light: #688754;
$custom-dark: #000000;
JSON
{
  "hex": "#28570f",
  "rgb": {
    "r": 40,
    "g": 87,
    "b": 15
  },
  "hsl": {
    "h": 99.167,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.40804,
    "c": 0.11281,
    "h": 137.3
  },
  "luminance": 0.07302
}

Semantic roles & 50–950 ramp

primary
#28570F
secondary
#703191
accent
#3AEDAF
background
#F6F8F5
surface
#EBEFE8
border
#C6CAC4
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #28570F

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

Preview Lab → · Contrast checker → · Palette generator →

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