#30310F#30310F

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

Color values

HEX#30310F
RGBrgb(48, 49, 15)
HSLhsl(62, 53%, 13%)
HSVhsv(62, 69%, 19%)
CMYKcmyk(2%, 0%, 69.4%, 80.8%)
CIE-LABlab(19.47, -6.14, 21.03)
CIE-LCHlch(19.47, 21.90, 106.28°)
OKLaboklab(30.37% -0.0184 0.0486)
OKLCHoklch(30.37% 0.052 110.7)
XYZxyz(2.4035, 2.8596, 0.8772)
Luminance0.0286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30310F #100F31
analogous
#31210F #30310F #1F310F
triadic
#30310F #0F3031 #310F30
tetradic
#30310F #0F3121 #100F31 #310F1F
square
#30310F #0F3121 #100F31 #310F1F
split-complementary
#30310F #0F1F31 #210F31
monochromatic
#171707 #171707 #30310F #5E601D #8C8F2C

Accessibility & contrast

On white

13.36
#30310F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30310F
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30310F#FFFFFF#000000##FFFFFF
##30310F1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352F0B
Deuteranopia (green-blind)
#353011
Tritanopia (blue-blind)
#342E2A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #30310f;
/* rgb */ color: rgb(48, 49, 15);
/* oklch */ color: oklch(30.4% 0.052 110.7);
Tailwind
colors: {
  custom: {
    50: '#69684f',
    500: '#30310f',
    950: '#000000',
  },
}
SCSS
$custom: #30310f;
$custom-light: #69684f;
$custom-dark: #000000;
JSON
{
  "hex": "#30310f",
  "rgb": {
    "r": 48,
    "g": 49,
    "b": 15
  },
  "hsl": {
    "h": 61.765,
    "s": 53.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.30367,
    "c": 0.05194,
    "h": 110.7
  },
  "luminance": 0.02859
}

Semantic roles & 50–950 ramp

primary
#30310F
secondary
#33316B
accent
#4BDD50
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #30310F

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

Preview Lab → · Contrast checker → · Palette generator →

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