#28361E#28361E

#28361E is a dark, muted yellow-green. Relative luminance 0.032; OKLCH L 31.3% C 0.045 H 133.1°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#28361E
RGBrgb(40, 54, 30)
HSLhsl(95, 29%, 16%)
HSVhsv(95, 44%, 21%)
CMYKcmyk(25.9%, 0%, 44.4%, 78.8%)
CIE-LABlab(20.76, -11.19, 13.26)
CIE-LCHlch(20.76, 17.35, 130.18°)
OKLaboklab(31.3% -0.0306 0.0328)
OKLCHoklch(31.3% 0.045 133.1)
XYZxyz(2.4285, 3.1831, 1.7145)
Luminance0.0318 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28361E #2C1E36
analogous
#34361E #28361E #1E3620
triadic
#28361E #1E2836 #361E28
tetradic
#28361E #1E3436 #2C1E36 #36201E
square
#28361E #1E3436 #2C1E36 #36201E
split-complementary
#28361E #201E36 #361E34
monochromatic
#0F140B #0F140B #28361E #455D34 #62854A

Accessibility & contrast

On white

12.83
#28361E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#28361E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28361E
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28361E#FFFFFF#000000##FFFFFF
##28361E1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38331C
Deuteranopia (green-blind)
#36321F
Tritanopia (blue-blind)
#283430
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #28361e;
/* rgb */ color: rgb(40, 54, 30);
/* oklch */ color: oklch(31.3% 0.045 133.1);
Tailwind
colors: {
  custom: {
    50: '#626d5a',
    500: '#28361e',
    950: '#000000',
  },
}
SCSS
$custom: #28361e;
$custom-light: #626d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#28361e",
  "rgb": {
    "r": 40,
    "g": 54,
    "b": 30
  },
  "hsl": {
    "h": 95,
    "s": 28.571,
    "l": 16.471
  },
  "oklch": {
    "l": 0.313,
    "c": 0.04483,
    "h": 133.1
  },
  "luminance": 0.03183
}

Semantic roles & 50–950 ramp

primary
#28361E
secondary
#5B4669
accent
#63C59C
background
#F5F6F5
surface
#EAEBE9
border
#C6C6C5
text
#050703
muted
#797A78

Preview Lab

Preview with #28361E

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

Preview Lab → · Contrast checker → · Palette generator →

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