#28361C#28361C

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

Color values

HEX#28361C
RGBrgb(40, 54, 28)
HSLhsl(92, 32%, 16%)
HSVhsv(92, 48%, 21%)
CMYKcmyk(25.9%, 0%, 48.1%, 78.8%)
CIE-LABlab(20.72, -11.53, 14.49)
CIE-LCHlch(20.72, 18.52, 128.51°)
OKLaboklab(31.26% -0.0317 0.0355)
OKLCHoklch(31.26% 0.048 131.7)
XYZxyz(2.4038, 3.1732, 1.5842)
Luminance0.0317 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28361C #2A1C36
analogous
#35361C #28361C #1C361D
triadic
#28361C #1C2836 #361C28
tetradic
#28361C #1C3536 #2A1C36 #361D1C
square
#28361C #1C3536 #2A1C36 #361D1C
split-complementary
#28361C #1D1C36 #361C35
monochromatic
#0F140A #0F140A #28361C #465E31 #648746

Accessibility & contrast

On white

12.85
#28361C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#28361C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28361C
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28361C#FFFFFF#000000##FFFFFF
##28361C1.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38331A
Deuteranopia (green-blind)
#36321D
Tritanopia (blue-blind)
#293430
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #28361c;
/* rgb */ color: rgb(40, 54, 28);
/* oklch */ color: oklch(31.3% 0.048 131.7);
Tailwind
colors: {
  custom: {
    50: '#626d58',
    500: '#28361c',
    950: '#000000',
  },
}
SCSS
$custom: #28361c;
$custom-light: #626d58;
$custom-dark: #000000;
JSON
{
  "hex": "#28361c",
  "rgb": {
    "r": 40,
    "g": 54,
    "b": 28
  },
  "hsl": {
    "h": 92.308,
    "s": 31.707,
    "l": 16.078
  },
  "oklch": {
    "l": 0.31257,
    "c": 0.04758,
    "h": 131.7
  },
  "luminance": 0.03173
}

Semantic roles & 50–950 ramp

primary
#28361C
secondary
#58446A
accent
#60C898
background
#F5F6F5
surface
#EAEBE9
border
#C6C6C5
text
#050703
muted
#797A78

Preview Lab

Preview with #28361C

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

Preview Lab → · Contrast checker → · Palette generator →

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