#28320D#28320D

#28320D is a dark, muted yellow-green. Relative luminance 0.028; OKLCH L 29.8% C 0.059 H 122.8°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#28320D
RGBrgb(40, 50, 13)
HSLhsl(76, 59%, 12%)
HSVhsv(76, 74%, 20%)
CMYKcmyk(20%, 0%, 74%, 80.4%)
CIE-LABlab(19.06, -11.09, 21.37)
CIE-LCHlch(19.06, 24.07, 117.42°)
OKLaboklab(29.85% -0.0319 0.0494)
OKLCHoklch(29.85% 0.059 122.8)
XYZxyz(2.0883, 2.7614, 0.8037)
Luminance0.0276 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28320D #170D32
analogous
#322A0D #28320D #16320D
triadic
#28320D #0D2832 #320D28
tetradic
#28320D #0D322A #170D32 #320D16
square
#28320D #0D322A #170D32 #320D16
split-complementary
#28320D #0D1632 #2A0D32
monochromatic
#131806 #131806 #28320D #4F631A #769326

Accessibility & contrast

On white

13.53
#28320D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#28320D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28320D
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28320D#FFFFFF#000000##FFFFFF
##28320D1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352F09
Deuteranopia (green-blind)
#342E10
Tritanopia (blue-blind)
#2A2F2A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #28320d;
/* rgb */ color: rgb(40, 50, 13);
/* oklch */ color: oklch(29.8% 0.059 122.8);
Tailwind
colors: {
  custom: {
    50: '#63694d',
    500: '#28320d',
    950: '#000000',
  },
}
SCSS
$custom: #28320d;
$custom-light: #63694d;
$custom-dark: #000000;
JSON
{
  "hex": "#28320d",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 13
  },
  "hsl": {
    "h": 76.216,
    "s": 58.73,
    "l": 12.353
  },
  "oklch": {
    "l": 0.29845,
    "c": 0.0588,
    "h": 122.8
  },
  "luminance": 0.02761
}

Semantic roles & 50–950 ramp

primary
#28320D
secondary
#3F2E6D
accent
#46E270
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050601
muted
#7A7A77

Preview Lab

Preview with #28320D

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

Preview Lab → · Contrast checker → · Palette generator →

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