#342901#342901

#342901 is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.5% C 0.057 H 92.8°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#342901
RGBrgb(52, 41, 1)
HSLhsl(47, 96%, 10%)
HSVhsv(47, 98%, 20%)
CMYKcmyk(0%, 21.2%, 98.1%, 79.6%)
CIE-LABlab(17.08, 0.24, 24.30)
CIE-LCHlch(17.08, 24.30, 89.43°)
OKLaboklab(28.53% -0.0028 0.0573)
OKLCHoklch(28.53% 0.057 92.8)
XYZxyz(2.2147, 2.3183, 0.3595)
Luminance0.0232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342901 #010C34
analogous
#340F01 #342901 #253401
triadic
#342901 #013429 #290134
tetradic
#342901 #01340F #010C34 #340125
square
#342901 #01340F #010C34 #340125
split-complementary
#342901 #012534 #0F0134
monochromatic
#1E1801 #1E1801 #342901 #705802 #AC8803

Accessibility & contrast

On white

14.35
#342901 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#342901 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342901
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342901#FFFFFF#000000##FFFFFF
##3429011.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2800
Deuteranopia (green-blind)
#322B03
Tritanopia (blue-blind)
#392421
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #342901;
/* rgb */ color: rgb(52, 41, 1);
/* oklch */ color: oklch(28.5% 0.057 92.8);
Tailwind
colors: {
  custom: {
    50: '#6e6247',
    500: '#342901',
    950: '#000000',
  },
}
SCSS
$custom: #342901;
$custom-light: #6e6247;
$custom-dark: #000000;
JSON
{
  "hex": "#342901",
  "rgb": {
    "r": 52,
    "g": 41,
    "b": 1
  },
  "hsl": {
    "h": 47.059,
    "s": 96.226,
    "l": 10.392
  },
  "oklch": {
    "l": 0.28526,
    "c": 0.05733,
    "h": 92.8
  },
  "luminance": 0.02318
}

Semantic roles & 50–950 ramp

primary
#342901
secondary
#182D79
accent
#57FF29
background
#F6F5F4
surface
#ECEAE6
border
#C7C6C2
text
#070500
muted
#7A7977

Preview Lab

Preview with #342901

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

Preview Lab → · Contrast checker → · Palette generator →

#342901 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva