#30340A#30340A

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

Color values

HEX#30340A
RGBrgb(48, 52, 10)
HSLhsl(66, 68%, 12%)
HSVhsv(66, 81%, 20%)
CMYKcmyk(7.7%, 0%, 80.8%, 79.6%)
CIE-LABlab(20.46, -8.44, 24.49)
CIE-LCHlch(20.46, 25.90, 109.02°)
OKLaboklab(31.15% -0.0255 0.0554)
OKLCHoklch(31.15% 0.061 114.7)
XYZxyz(2.5018, 3.1063, 0.7549)
Luminance0.0311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30340A #0E0A34
analogous
#34230A #30340A #1B340A
triadic
#30340A #0A3034 #340A30
tetradic
#30340A #0A3423 #0E0A34 #340A1B
square
#30340A #0A3423 #0E0A34 #340A1B
split-complementary
#30340A #0A1B34 #230A34
monochromatic
#181A05 #181A05 #30340A #5F6714 #8F9B1E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30340A#FFFFFF#000000##FFFFFF
##30340A1.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)
#383105
Deuteranopia (green-blind)
#38320D
Tritanopia (blue-blind)
#34302C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #30340a;
/* rgb */ color: rgb(48, 52, 10);
/* oklch */ color: oklch(31.1% 0.061 114.7);
Tailwind
colors: {
  custom: {
    50: '#6a6b4c',
    500: '#30340a',
    950: '#000000',
  },
}
SCSS
$custom: #30340a;
$custom-light: #6a6b4c;
$custom-dark: #000000;
JSON
{
  "hex": "#30340a",
  "rgb": {
    "r": 48,
    "g": 52,
    "b": 10
  },
  "hsl": {
    "h": 65.714,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.31145,
    "c": 0.06101,
    "h": 114.7
  },
  "luminance": 0.03106
}

Semantic roles & 50–950 ramp

primary
#30340A
secondary
#2F2871
accent
#3DEB4E
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #30340A

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

Preview Lab → · Contrast checker → · Palette generator →

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