#28310D#28310D

#28310D is a dark, muted yellow-green. Relative luminance 0.027; OKLCH L 29.6% C 0.057 H 121.9°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#28310D
RGBrgb(40, 49, 13)
HSLhsl(75, 58%, 12%)
HSVhsv(75, 73%, 19%)
CMYKcmyk(18.4%, 0%, 73.5%, 80.8%)
CIE-LABlab(18.70, -10.48, 20.95)
CIE-LCHlch(18.70, 23.42, 116.57°)
OKLaboklab(29.55% -0.0302 0.0486)
OKLCHoklch(29.55% 0.057 121.9)
XYZxyz(2.0461, 2.6768, 0.7896)
Luminance0.0268 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28310D #160D31
analogous
#31280D #28310D #16310D
triadic
#28310D #0D2831 #310D28
tetradic
#28310D #0D3128 #160D31 #310D16
square
#28310D #0D3128 #160D31 #310D16
split-complementary
#28310D #0D1631 #280D31
monochromatic
#141806 #141806 #28310D #4F611A #779227

Accessibility & contrast

On white

13.68
#28310D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#28310D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28310D
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28310D#FFFFFF#000000##FFFFFF
##28310D1.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342E09
Deuteranopia (green-blind)
#332E0F
Tritanopia (blue-blind)
#2A2E29
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #28310d;
/* rgb */ color: rgb(40, 49, 13);
/* oklch */ color: oklch(29.6% 0.057 121.9);
Tailwind
colors: {
  custom: {
    50: '#63694d',
    500: '#28310d',
    950: '#000000',
  },
}
SCSS
$custom: #28310d;
$custom-light: #63694d;
$custom-dark: #000000;
JSON
{
  "hex": "#28310d",
  "rgb": {
    "r": 40,
    "g": 49,
    "b": 13
  },
  "hsl": {
    "h": 75,
    "s": 58.065,
    "l": 12.157
  },
  "oklch": {
    "l": 0.29554,
    "c": 0.05719,
    "h": 121.9
  },
  "luminance": 0.02677
}

Semantic roles & 50–950 ramp

primary
#28310D
secondary
#3D2E6C
accent
#47E16D
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050601
muted
#7A7A77

Preview Lab

Preview with #28310D

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

Preview Lab → · Contrast checker → · Palette generator →

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