#30340B#30340B

#30340B is a dark, moderate yellow. Relative luminance 0.031; OKLCH L 31.2% C 0.060 H 114.7°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#30340B
RGBrgb(48, 52, 11)
HSLhsl(66, 65%, 12%)
HSVhsv(66, 79%, 20%)
CMYKcmyk(7.7%, 0%, 78.8%, 79.6%)
CIE-LABlab(20.47, -8.37, 24.08)
CIE-LCHlch(20.47, 25.49, 109.17°)
OKLaboklab(31.16% -0.0251 0.0546)
OKLCHoklch(31.16% 0.06 114.7)
XYZxyz(2.5074, 3.1086, 0.7845)
Luminance0.0311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30340B #0F0B34
analogous
#34240B #30340B #1B340B
triadic
#30340B #0B3034 #340B30
tetradic
#30340B #0B3424 #0F0B34 #340B1B
square
#30340B #0B3424 #0F0B34 #340B1B
split-complementary
#30340B #0B1B34 #240B34
monochromatic
#171905 #171905 #30340B #5F6716 #8D9920

Accessibility & contrast

On white

12.95
#30340B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#30340B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30340B
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30340B#FFFFFF#000000##FFFFFF
##30340B1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383106
Deuteranopia (green-blind)
#38320E
Tritanopia (blue-blind)
#34312C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #30340b;
/* rgb */ color: rgb(48, 52, 11);
/* oklch */ color: oklch(31.2% 0.060 114.7);
Tailwind
colors: {
  custom: {
    50: '#6a6b4d',
    500: '#30340b',
    950: '#000000',
  },
}
SCSS
$custom: #30340b;
$custom-light: #6a6b4d;
$custom-dark: #000000;
JSON
{
  "hex": "#30340b",
  "rgb": {
    "r": 48,
    "g": 52,
    "b": 11
  },
  "hsl": {
    "h": 65.854,
    "s": 65.079,
    "l": 12.353
  },
  "oklch": {
    "l": 0.31155,
    "c": 0.06014,
    "h": 114.7
  },
  "luminance": 0.03109
}

Semantic roles & 50–950 ramp

primary
#30340B
secondary
#312A71
accent
#40E850
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #30340B

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

Preview Lab → · Contrast checker → · Palette generator →

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