#28570C#28570C

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

Color values

HEX#28570C
RGBrgb(40, 87, 12)
HSLhsl(98, 76%, 19%)
HSVhsv(98, 86%, 34%)
CMYKcmyk(54%, 0%, 86.2%, 65.9%)
CIE-LABlab(32.47, -30.06, 35.34)
CIE-LCHlch(32.47, 46.40, 130.39°)
OKLaboklab(40.78% -0.0836 0.0782)
OKLCHoklch(40.78% 0.114 136.9)
XYZxyz(4.3495, 7.2937, 1.5264)
Luminance0.0729 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28570C #3B0C57
analogous
#4E570C #28570C #0C5716
triadic
#28570C #0C2857 #570C28
tetradic
#28570C #0C4E57 #3B0C57 #57160C
square
#28570C #0C4E57 #3B0C57 #57160C
split-complementary
#28570C #160C57 #570C4E
monochromatic
#0C1B04 #0F2105 #28570C #418D13 #59C31B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28570C#FFFFFF#000000##FFFFFF
##28570C1.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: #28570c;
/* rgb */ color: rgb(40, 87, 12);
/* oklch */ color: oklch(40.8% 0.114 136.9);
Tailwind
colors: {
  custom: {
    50: '#688752',
    500: '#28570c',
    950: '#000000',
  },
}
SCSS
$custom: #28570c;
$custom-light: #688752;
$custom-dark: #000000;
JSON
{
  "hex": "#28570c",
  "rgb": {
    "r": 40,
    "g": 87,
    "b": 12
  },
  "hsl": {
    "h": 97.6,
    "s": 75.758,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40784,
    "c": 0.11449,
    "h": 136.9
  },
  "luminance": 0.07294
}

Semantic roles & 50–950 ramp

primary
#28570C
secondary
#6C2D92
accent
#35F2AC
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060B02
muted
#7A7C78

Preview Lab

Preview with #28570C

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

Preview Lab → · Contrast checker → · Palette generator →

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