#28510E#28510E

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

Color values

HEX#28510E
RGBrgb(40, 81, 14)
HSLhsl(97, 71%, 19%)
HSVhsv(97, 83%, 32%)
CMYKcmyk(50.6%, 0%, 82.7%, 68.2%)
CIE-LABlab(30.32, -27.25, 32.58)
CIE-LCHlch(30.32, 42.47, 129.91°)
OKLaboklab(39.02% -0.0759 0.0728)
OKLCHoklch(39.02% 0.105 136.2)
XYZxyz(3.8967, 6.3674, 1.4391)
Luminance0.0637 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28510E #370E51
analogous
#49510E #28510E #0E5115
triadic
#28510E #0E2851 #510E28
tetradic
#28510E #0E4951 #370E51 #51150E
square
#28510E #0E4951 #370E51 #51150E
split-complementary
#28510E #150E51 #510E49
monochromatic
#0D1A05 #0E1D05 #28510E #428517 #5CB920

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28510E#FFFFFF#000000##FFFFFF
##28510E1.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)
#544A02
Deuteranopia (green-blind)
#4F4615
Tritanopia (blue-blind)
#264E44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #28510e;
/* rgb */ color: rgb(40, 81, 14);
/* oklch */ color: oklch(39.0% 0.105 136.2);
Tailwind
colors: {
  custom: {
    50: '#678252',
    500: '#28510e',
    950: '#000000',
  },
}
SCSS
$custom: #28510e;
$custom-light: #678252;
$custom-dark: #000000;
JSON
{
  "hex": "#28510e",
  "rgb": {
    "r": 40,
    "g": 81,
    "b": 14
  },
  "hsl": {
    "h": 96.716,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.39024,
    "c": 0.10516,
    "h": 136.2
  },
  "luminance": 0.06368
}

Semantic roles & 50–950 ramp

primary
#28510E
secondary
#682F8C
accent
#3AEDA8
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #28510E

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

Preview Lab → · Contrast checker → · Palette generator →

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