#30310B#30310B

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

Color values

HEX#30310B
RGBrgb(48, 49, 11)
HSLhsl(62, 63%, 12%)
HSVhsv(62, 78%, 19%)
CMYKcmyk(2%, 0%, 77.6%, 80.8%)
CIE-LABlab(19.43, -6.48, 22.90)
CIE-LCHlch(19.43, 23.80, 105.80°)
OKLaboklab(30.32% -0.0198 0.0524)
OKLCHoklch(30.32% 0.056 110.8)
XYZxyz(2.3777, 2.8492, 0.7412)
Luminance0.0285 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30310B #0C0B31
analogous
#311F0B #30310B #1D310B
triadic
#30310B #0B3031 #310B30
tetradic
#30310B #0B311F #0C0B31 #310B1D
square
#30310B #0B311F #0C0B31 #310B1D
split-complementary
#30310B #0B1D31 #1F0B31
monochromatic
#181906 #181906 #30310B #616316 #929521

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30310B#FFFFFF#000000##FFFFFF
##30310B1.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)
#352E06
Deuteranopia (green-blind)
#36300E
Tritanopia (blue-blind)
#342D29
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #30310b;
/* rgb */ color: rgb(48, 49, 11);
/* oklch */ color: oklch(30.3% 0.056 110.8);
Tailwind
colors: {
  custom: {
    50: '#6a684c',
    500: '#30310b',
    950: '#000000',
  },
}
SCSS
$custom: #30310b;
$custom-light: #6a684c;
$custom-dark: #000000;
JSON
{
  "hex": "#30310b",
  "rgb": {
    "r": 48,
    "g": 49,
    "b": 11
  },
  "hsl": {
    "h": 61.579,
    "s": 63.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.3032,
    "c": 0.056,
    "h": 110.8
  },
  "luminance": 0.02849
}

Semantic roles & 50–950 ramp

primary
#30310B
secondary
#2C2A6E
accent
#41E646
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #30310B

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

Preview Lab → · Contrast checker → · Palette generator →

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