#28520E#28520E

#28520E is a dark, moderate yellow-green. Relative luminance 0.065; OKLCH L 39.3% C 0.107 H 136.4°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#28520E
RGBrgb(40, 82, 14)
HSLhsl(97, 71%, 19%)
HSVhsv(97, 83%, 32%)
CMYKcmyk(51.2%, 0%, 82.9%, 67.8%)
CIE-LABlab(30.68, -27.71, 32.93)
CIE-LCHlch(30.68, 43.03, 130.08°)
OKLaboklab(39.32% -0.0771 0.0735)
OKLCHoklch(39.32% 0.107 136.4)
XYZxyz(3.9715, 6.5171, 1.4640)
Luminance0.0652 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28520E #380E52
analogous
#4A520E #28520E #0E5216
triadic
#28520E #0E2852 #520E28
tetradic
#28520E #0E4A52 #380E52 #52160E
square
#28520E #0E4A52 #380E52 #52160E
split-complementary
#28520E #160E52 #520E4A
monochromatic
#0D1A04 #0F1E05 #28520E #428617 #5BBB20

Accessibility & contrast

On white

9.12
#28520E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#28520E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28520E
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28520E#FFFFFF#000000##FFFFFF
##28520E1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A02
Deuteranopia (green-blind)
#504715
Tritanopia (blue-blind)
#264F45
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #28520e;
/* rgb */ color: rgb(40, 82, 14);
/* oklch */ color: oklch(39.3% 0.107 136.4);
Tailwind
colors: {
  custom: {
    50: '#678352',
    500: '#28520e',
    950: '#000000',
  },
}
SCSS
$custom: #28520e;
$custom-light: #678352;
$custom-dark: #000000;
JSON
{
  "hex": "#28520e",
  "rgb": {
    "r": 40,
    "g": 82,
    "b": 14
  },
  "hsl": {
    "h": 97.059,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.3932,
    "c": 0.10655,
    "h": 136.4
  },
  "luminance": 0.06517
}

Semantic roles & 50–950 ramp

primary
#28520E
secondary
#692F8C
accent
#3AEEA9
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #28520E

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

Preview Lab → · Contrast checker → · Palette generator →

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