#342A01#342A01

#342A01 is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.8% C 0.058 H 94.7°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#342A01
RGBrgb(52, 42, 1)
HSLhsl(48, 96%, 10%)
HSVhsv(48, 98%, 20%)
CMYKcmyk(0%, 19.2%, 98.1%, 79.6%)
CIE-LABlab(17.41, -0.43, 24.70)
CIE-LCHlch(17.41, 24.70, 90.99°)
OKLaboklab(28.79% -0.0047 0.0578)
OKLCHoklch(28.79% 0.058 94.7)
XYZxyz(2.2498, 2.3883, 0.3712)
Luminance0.0239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342A01 #010B34
analogous
#341001 #342A01 #243401
triadic
#342A01 #01342A #2A0134
tetradic
#342A01 #013410 #010B34 #340124
square
#342A01 #013410 #010B34 #340124
split-complementary
#342A01 #012434 #100134
monochromatic
#1E1801 #1E1801 #342A01 #705A02 #AC8B03

Accessibility & contrast

On white

14.21
#342A01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#342A01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342A01
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342A01#FFFFFF#000000##FFFFFF
##342A011.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302900
Deuteranopia (green-blind)
#322C03
Tritanopia (blue-blind)
#392522
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #342a01;
/* rgb */ color: rgb(52, 42, 1);
/* oklch */ color: oklch(28.8% 0.058 94.7);
Tailwind
colors: {
  custom: {
    50: '#6e6347',
    500: '#342a01',
    950: '#000000',
  },
}
SCSS
$custom: #342a01;
$custom-light: #6e6347;
$custom-dark: #000000;
JSON
{
  "hex": "#342a01",
  "rgb": {
    "r": 52,
    "g": 42,
    "b": 1
  },
  "hsl": {
    "h": 48.235,
    "s": 96.226,
    "l": 10.392
  },
  "oklch": {
    "l": 0.28787,
    "c": 0.05802,
    "h": 94.7
  },
  "luminance": 0.02388
}

Semantic roles & 50–950 ramp

primary
#342A01
secondary
#182B79
accent
#53FF29
background
#F6F5F4
surface
#ECEAE6
border
#C7C6C2
text
#070500
muted
#7A7977

Preview Lab

Preview with #342A01

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

Preview Lab → · Contrast checker → · Palette generator →

#342A01 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva