#31300E#31300E

#31300E is a dark, muted yellow. Relative luminance 0.028; OKLCH L 30.2% C 0.051 H 107.5°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#31300E
RGBrgb(49, 48, 14)
HSLhsl(58, 56%, 12%)
HSVhsv(58, 71%, 19%)
CMYKcmyk(0%, 2%, 71.4%, 80.8%)
CIE-LABlab(19.22, -5.06, 21.28)
CIE-LCHlch(19.22, 21.87, 103.37°)
OKLaboklab(30.19% -0.0155 0.0491)
OKLCHoklch(30.19% 0.051 107.5)
XYZxyz(2.4029, 2.7987, 0.8290)
Luminance0.0280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31300E #0E0F31
analogous
#311F0E #31300E #20310E
triadic
#31300E #0E3130 #300E31
tetradic
#31300E #0E311F #0E0F31 #310E20
square
#31300E #0E311F #0E0F31 #310E20
split-complementary
#31300E #0E2031 #1F0E31
monochromatic
#181707 #181707 #31300E #615F1C #908D29

Accessibility & contrast

On white

13.46
#31300E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#31300E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31300E
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31300E#FFFFFF#000000##FFFFFF
##31300E1.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342E0A
Deuteranopia (green-blind)
#352F10
Tritanopia (blue-blind)
#352D29
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #31300e;
/* rgb */ color: rgb(49, 48, 14);
/* oklch */ color: oklch(30.2% 0.051 107.5);
Tailwind
colors: {
  custom: {
    50: '#6a684e',
    500: '#31300e',
    950: '#000000',
  },
}
SCSS
$custom: #31300e;
$custom-light: #6a684e;
$custom-dark: #000000;
JSON
{
  "hex": "#31300e",
  "rgb": {
    "r": 49,
    "g": 48,
    "b": 14
  },
  "hsl": {
    "h": 58.286,
    "s": 55.556,
    "l": 12.353
  },
  "oklch": {
    "l": 0.30186,
    "c": 0.05145,
    "h": 107.5
  },
  "luminance": 0.02799
}

Semantic roles & 50–950 ramp

primary
#31300E
secondary
#2F316C
accent
#4DDF49
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #31300E

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

Preview Lab → · Contrast checker → · Palette generator →

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