#30310D#30310D

#30310D is a dark, muted yellow. Relative luminance 0.029; OKLCH L 30.3% C 0.054 H 110.7°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#30310D
RGBrgb(48, 49, 13)
HSLhsl(62, 58%, 12%)
HSVhsv(62, 73%, 19%)
CMYKcmyk(2%, 0%, 73.5%, 80.8%)
CIE-LABlab(19.45, -6.32, 22.01)
CIE-LCHlch(19.45, 22.90, 106.01°)
OKLaboklab(30.34% -0.0191 0.0506)
OKLCHoklch(30.34% 0.054 110.7)
XYZxyz(2.3900, 2.8541, 0.8057)
Luminance0.0285 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30310D #0E0D31
analogous
#31200D #30310D #1E310D
triadic
#30310D #0D3031 #310D30
tetradic
#30310D #0D3120 #0E0D31 #310D1E
square
#30310D #0D3120 #0E0D31 #310D1E
split-complementary
#30310D #0D1E31 #200D31
monochromatic
#181806 #181806 #30310D #5F611A #8F9227

Accessibility & contrast

On white

13.37
#30310D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#30310D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30310D
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30310D#FFFFFF#000000##FFFFFF
##30310D1.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352F09
Deuteranopia (green-blind)
#36300F
Tritanopia (blue-blind)
#342E29
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #30310d;
/* rgb */ color: rgb(48, 49, 13);
/* oklch */ color: oklch(30.3% 0.054 110.7);
Tailwind
colors: {
  custom: {
    50: '#6a684d',
    500: '#30310d',
    950: '#000000',
  },
}
SCSS
$custom: #30310d;
$custom-light: #6a684d;
$custom-dark: #000000;
JSON
{
  "hex": "#30310d",
  "rgb": {
    "r": 48,
    "g": 49,
    "b": 13
  },
  "hsl": {
    "h": 61.667,
    "s": 58.065,
    "l": 12.157
  },
  "oklch": {
    "l": 0.30342,
    "c": 0.05405,
    "h": 110.7
  },
  "luminance": 0.02854
}

Semantic roles & 50–950 ramp

primary
#30310D
secondary
#2F2E6C
accent
#47E14B
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #30310D

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

Preview Lab → · Contrast checker → · Palette generator →

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