#28550D#28550D

#28550D is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.2% C 0.111 H 136.7°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#28550D
RGBrgb(40, 85, 13)
HSLhsl(98, 73%, 19%)
HSVhsv(98, 85%, 33%)
CMYKcmyk(52.9%, 0%, 84.7%, 66.7%)
CIE-LABlab(31.75, -29.12, 34.32)
CIE-LCHlch(31.75, 45.01, 130.31°)
OKLaboklab(40.2% -0.081 0.0763)
OKLCHoklch(40.2% 0.111 136.7)
XYZxyz(4.1961, 6.9769, 1.5063)
Luminance0.0698 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28550D #3A0D55
analogous
#4C550D #28550D #0D5516
triadic
#28550D #0D2855 #550D28
tetradic
#28550D #0D4C55 #3A0D55 #55160D
square
#28550D #0D4C55 #3A0D55 #55160D
split-complementary
#28550D #160D55 #550D4C
monochromatic
#0C1B04 #0F2005 #28550D #418A15 #5ABF1D

Accessibility & contrast

On white

8.77
#28550D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#28550D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28550D
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28550D#FFFFFF#000000##FFFFFF
##28550D1.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D00
Deuteranopia (green-blind)
#524915
Tritanopia (blue-blind)
#265248
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #28550d;
/* rgb */ color: rgb(40, 85, 13);
/* oklch */ color: oklch(40.2% 0.111 136.7);
Tailwind
colors: {
  custom: {
    50: '#678552',
    500: '#28550d',
    950: '#000000',
  },
}
SCSS
$custom: #28550d;
$custom-light: #678552;
$custom-dark: #000000;
JSON
{
  "hex": "#28550d",
  "rgb": {
    "r": 40,
    "g": 85,
    "b": 13
  },
  "hsl": {
    "h": 97.5,
    "s": 73.469,
    "l": 19.216
  },
  "oklch": {
    "l": 0.402,
    "c": 0.11126,
    "h": 136.7
  },
  "luminance": 0.06977
}

Semantic roles & 50–950 ramp

primary
#28550D
secondary
#6B2E90
accent
#38F0AB
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060B02
muted
#7A7C78

Preview Lab

Preview with #28550D

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

Preview Lab → · Contrast checker → · Palette generator →

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