#28570E#28570E

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

Color values

HEX#28570E
RGBrgb(40, 87, 14)
HSLhsl(99, 72%, 20%)
HSVhsv(99, 84%, 34%)
CMYKcmyk(54%, 0%, 83.9%, 65.9%)
CIE-LABlab(32.48, -29.94, 34.65)
CIE-LCHlch(32.48, 45.79, 130.82°)
OKLaboklab(40.8% -0.0831 0.0771)
OKLCHoklch(40.8% 0.113 137.1)
XYZxyz(4.3624, 7.2989, 1.5943)
Luminance0.0730 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28570E #3D0E57
analogous
#4D570E #28570E #0E5719
triadic
#28570E #0E2857 #570E28
tetradic
#28570E #0E4D57 #3D0E57 #57190E
square
#28570E #0E4D57 #3D0E57 #57190E
split-complementary
#28570E #190E57 #570E4D
monochromatic
#0C1A04 #102206 #28570E #408C16 #58C01F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28570E#FFFFFF#000000##FFFFFF
##28570E1.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)
#544B16
Tritanopia (blue-blind)
#255449
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #28570e;
/* rgb */ color: rgb(40, 87, 14);
/* oklch */ color: oklch(40.8% 0.113 137.1);
Tailwind
colors: {
  custom: {
    50: '#688753',
    500: '#28570e',
    950: '#000000',
  },
}
SCSS
$custom: #28570e;
$custom-light: #688753;
$custom-dark: #000000;
JSON
{
  "hex": "#28570e",
  "rgb": {
    "r": 40,
    "g": 87,
    "b": 14
  },
  "hsl": {
    "h": 98.63,
    "s": 72.277,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40797,
    "c": 0.11339,
    "h": 137.1
  },
  "luminance": 0.07299
}

Semantic roles & 50–950 ramp

primary
#28570E
secondary
#6E3091
accent
#39EFAE
background
#F6F8F4
surface
#EBEFE8
border
#C6CAC4
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #28570E

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

Preview Lab → · Contrast checker → · Palette generator →

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