#30331E#30331E

#30331E is a dark, muted yellow. Relative luminance 0.031; OKLCH L 31.2% C 0.035 H 115.1°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#30331E
RGBrgb(48, 51, 30)
HSLhsl(69, 26%, 16%)
HSVhsv(69, 41%, 20%)
CMYKcmyk(5.9%, 0%, 41.2%, 80%)
CIE-LABlab(20.40, -5.53, 12.91)
CIE-LCHlch(20.40, 14.05, 113.18°)
OKLaboklab(31.18% -0.0149 0.0319)
OKLCHoklch(31.18% 0.035 115.1)
XYZxyz(2.6371, 3.0898, 1.6855)
Luminance0.0309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30331E #211E33
analogous
#332B1E #30331E #25331E
triadic
#30331E #1E3033 #331E30
tetradic
#30331E #1E332B #211E33 #331E25
square
#30331E #1E332B #211E33 #331E25
split-complementary
#30331E #1E2533 #2B1E33
monochromatic
#12130B #12130B #30331E #545A35 #79804B

Accessibility & contrast

On white

12.98
#30331E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#30331E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30331E
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30331E#FFFFFF#000000##FFFFFF
##30331E1.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36311D
Deuteranopia (green-blind)
#36311F
Tritanopia (blue-blind)
#32312E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #30331e;
/* rgb */ color: rgb(48, 51, 30);
/* oklch */ color: oklch(31.2% 0.035 115.1);
Tailwind
colors: {
  custom: {
    50: '#686a5a',
    500: '#30331e',
    950: '#000000',
  },
}
SCSS
$custom: #30331e;
$custom-light: #686a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#30331e",
  "rgb": {
    "r": 48,
    "g": 51,
    "b": 30
  },
  "hsl": {
    "h": 68.571,
    "s": 25.926,
    "l": 15.882
  },
  "oklch": {
    "l": 0.31184,
    "c": 0.03525,
    "h": 115.1
  },
  "luminance": 0.0309
}

Semantic roles & 50–950 ramp

primary
#30331E
secondary
#4B4766
accent
#65C273
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060603
muted
#7A7A78

Preview Lab

Preview with #30331E

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

Preview Lab → · Contrast checker → · Palette generator →

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