#28320B#28320B

#28320B is a dark, moderate yellow-green. Relative luminance 0.028; OKLCH L 29.8% C 0.061 H 122.5°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#28320B
RGBrgb(40, 50, 11)
HSLhsl(75, 64%, 12%)
HSVhsv(75, 78%, 20%)
CMYKcmyk(20%, 0%, 78%, 80.4%)
CIE-LABlab(19.04, -11.27, 22.26)
CIE-LCHlch(19.04, 24.95, 116.86°)
OKLaboklab(29.82% -0.0326 0.0513)
OKLCHoklch(29.82% 0.061 122.5)
XYZxyz(2.0761, 2.7565, 0.7392)
Luminance0.0276 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28320B #150B32
analogous
#32290B #28320B #15320B
triadic
#28320B #0B2832 #320B28
tetradic
#28320B #0B3229 #150B32 #320B15
square
#28320B #0B3229 #150B32 #320B15
split-complementary
#28320B #0B1532 #290B32
monochromatic
#141906 #141906 #28320B #506416 #789621

Accessibility & contrast

On white

13.54
#28320B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28320B
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28320B#FFFFFF#000000##FFFFFF
##28320B1.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28320b;
/* rgb */ color: rgb(40, 50, 11);
/* oklch */ color: oklch(29.8% 0.061 122.5);
Tailwind
colors: {
  custom: {
    50: '#63694c',
    500: '#28320b',
    950: '#000000',
  },
}
SCSS
$custom: #28320b;
$custom-light: #63694c;
$custom-dark: #000000;
JSON
{
  "hex": "#28320b",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 11
  },
  "hsl": {
    "h": 75.385,
    "s": 63.934,
    "l": 11.961
  },
  "oklch": {
    "l": 0.29822,
    "c": 0.06076,
    "h": 122.5
  },
  "luminance": 0.02756
}

Semantic roles & 50–950 ramp

primary
#28320B
secondary
#3C2A6F
accent
#41E76B
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050601
muted
#7A7A77

Preview Lab

Preview with #28320B

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

Preview Lab → · Contrast checker → · Palette generator →

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