#28510D#28510D

#28510D is a dark, moderate yellow-green. Relative luminance 0.064; OKLCH L 39.0% C 0.106 H 136.0°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#28510D
RGBrgb(40, 81, 13)
HSLhsl(96, 72%, 18%)
HSVhsv(96, 84%, 32%)
CMYKcmyk(50.6%, 0%, 84%, 68.2%)
CIE-LABlab(30.31, -27.32, 32.95)
CIE-LCHlch(30.31, 42.81, 129.67°)
OKLaboklab(39.02% -0.0761 0.0734)
OKLCHoklch(39.02% 0.106 136)
XYZxyz(3.8900, 6.3648, 1.4042)
Luminance0.0636 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28510D #360D51
analogous
#4A510D #28510D #0D5114
triadic
#28510D #0D2851 #510D28
tetradic
#28510D #0D4A51 #360D51 #51140D
square
#28510D #0D4A51 #360D51 #51140D
split-complementary
#28510D #140D51 #510D4A
monochromatic
#0D1A04 #0E1C05 #28510D #428615 #5CBA1E

Accessibility & contrast

On white

9.24
#28510D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#28510D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28510D
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28510D#FFFFFF#000000##FFFFFF
##28510D1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544901
Deuteranopia (green-blind)
#4F4614
Tritanopia (blue-blind)
#264E44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #28510d;
/* rgb */ color: rgb(40, 81, 13);
/* oklch */ color: oklch(39.0% 0.106 136.0);
Tailwind
colors: {
  custom: {
    50: '#678252',
    500: '#28510d',
    950: '#000000',
  },
}
SCSS
$custom: #28510d;
$custom-light: #678252;
$custom-dark: #000000;
JSON
{
  "hex": "#28510d",
  "rgb": {
    "r": 40,
    "g": 81,
    "b": 13
  },
  "hsl": {
    "h": 96.176,
    "s": 72.34,
    "l": 18.431
  },
  "oklch": {
    "l": 0.39017,
    "c": 0.10577,
    "h": 136
  },
  "luminance": 0.06365
}

Semantic roles & 50–950 ramp

primary
#28510D
secondary
#672E8C
accent
#39EFA7
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #28510D

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

Preview Lab → · Contrast checker → · Palette generator →

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