#342F05#342F05

#342F05 is a dark, muted yellow. Relative luminance 0.028; OKLCH L 30.2% C 0.058 H 102.3°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#342F05
RGBrgb(52, 47, 5)
HSLhsl(54, 82%, 11%)
HSVhsv(54, 90%, 20%)
CMYKcmyk(0%, 9.6%, 90.4%, 79.6%)
CIE-LABlab(19.12, -3.46, 25.10)
CIE-LCHlch(19.12, 25.34, 97.84°)
OKLaboklab(30.15% -0.0125 0.0571)
OKLCHoklch(30.15% 0.058 102.3)
XYZxyz(2.4602, 2.7742, 0.5494)
Luminance0.0277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342F05 #050A34
analogous
#341705 #342F05 #213405
triadic
#342F05 #05342F #2F0534
tetradic
#342F05 #053417 #050A34 #340521
square
#342F05 #053417 #050A34 #340521
split-complementary
#342F05 #052134 #170534
monochromatic
#1C1903 #1C1903 #342F05 #6C610A #A49410

Accessibility & contrast

On white

13.51
#342F05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#342F05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342F05
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342F05#FFFFFF#000000##FFFFFF
##342F051.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D00
Deuteranopia (green-blind)
#362F08
Tritanopia (blue-blind)
#392B27
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #342f05;
/* rgb */ color: rgb(52, 47, 5);
/* oklch */ color: oklch(30.2% 0.058 102.3);
Tailwind
colors: {
  custom: {
    50: '#6d6749',
    500: '#342f05',
    950: '#000000',
  },
}
SCSS
$custom: #342f05;
$custom-light: #6d6749;
$custom-dark: #000000;
JSON
{
  "hex": "#342f05",
  "rgb": {
    "r": 52,
    "g": 47,
    "b": 5
  },
  "hsl": {
    "h": 53.617,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.30154,
    "c": 0.05845,
    "h": 102.3
  },
  "luminance": 0.02774
}

Semantic roles & 50–950 ramp

primary
#342F05
secondary
#1F2975
accent
#44F92F
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #342F05

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

Preview Lab → · Contrast checker → · Palette generator →

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