#30310A#30310A

#30310A is a dark, muted yellow. Relative luminance 0.028; OKLCH L 30.3% C 0.057 H 110.8°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#30310A
RGBrgb(48, 49, 10)
HSLhsl(62, 66%, 12%)
HSVhsv(62, 80%, 19%)
CMYKcmyk(2%, 0%, 79.6%, 80.8%)
CIE-LABlab(19.42, -6.56, 23.30)
CIE-LCHlch(19.42, 24.21, 105.72°)
OKLaboklab(30.31% -0.0202 0.0532)
OKLCHoklch(30.31% 0.057 110.8)
XYZxyz(2.3721, 2.8470, 0.7117)
Luminance0.0285 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30310A #0B0A31
analogous
#311F0A #30310A #1D310A
triadic
#30310A #0A3031 #310A30
tetradic
#30310A #0A311F #0B0A31 #310A1D
square
#30310A #0A311F #0B0A31 #310A1D
split-complementary
#30310A #0A1D31 #1F0A31
monochromatic
#191905 #191905 #30310A #626414 #94971F

Accessibility & contrast

On white

13.38
#30310A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30310A
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30310A#FFFFFF#000000##FFFFFF
##30310A1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E05
Deuteranopia (green-blind)
#36300D
Tritanopia (blue-blind)
#342D29
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #30310a;
/* rgb */ color: rgb(48, 49, 10);
/* oklch */ color: oklch(30.3% 0.057 110.8);
Tailwind
colors: {
  custom: {
    50: '#6a684c',
    500: '#30310a',
    950: '#000000',
  },
}
SCSS
$custom: #30310a;
$custom-light: #6a684c;
$custom-dark: #000000;
JSON
{
  "hex": "#30310a",
  "rgb": {
    "r": 48,
    "g": 49,
    "b": 10
  },
  "hsl": {
    "h": 61.538,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.30309,
    "c": 0.05692,
    "h": 110.8
  },
  "luminance": 0.02847
}

Semantic roles & 50–950 ramp

primary
#30310A
secondary
#2A296E
accent
#3FE943
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #30310A

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

Preview Lab → · Contrast checker → · Palette generator →

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