#342E06#342E06

#342E06 is a dark, muted yellow. Relative luminance 0.027; OKLCH L 29.9% C 0.057 H 100.5°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#342E06
RGBrgb(52, 46, 6)
HSLhsl(52, 79%, 11%)
HSVhsv(52, 88%, 20%)
CMYKcmyk(0%, 11.5%, 88.5%, 79.6%)
CIE-LABlab(18.79, -2.73, 24.31)
CIE-LCHlch(18.79, 24.46, 96.41°)
OKLaboklab(29.9% -0.0103 0.0556)
OKLCHoklch(29.9% 0.057 100.5)
XYZxyz(2.4262, 2.6973, 0.5651)
Luminance0.0270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342E06 #060C34
analogous
#341706 #342E06 #233406
triadic
#342E06 #06342E #2E0634
tetradic
#342E06 #063417 #060C34 #340623
square
#342E06 #063417 #060C34 #340623
split-complementary
#342E06 #062334 #170634
monochromatic
#1B1803 #1B1803 #342E06 #6B5F0C #A28F13

Accessibility & contrast

On white

13.64
#342E06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#342E06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342E06
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342E06#FFFFFF#000000##FFFFFF
##342E061.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C02
Deuteranopia (green-blind)
#352F08
Tritanopia (blue-blind)
#392A26
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #342e06;
/* rgb */ color: rgb(52, 46, 6);
/* oklch */ color: oklch(29.9% 0.057 100.5);
Tailwind
colors: {
  custom: {
    50: '#6d664a',
    500: '#342e06',
    950: '#000000',
  },
}
SCSS
$custom: #342e06;
$custom-light: #6d664a;
$custom-dark: #000000;
JSON
{
  "hex": "#342e06",
  "rgb": {
    "r": 52,
    "g": 46,
    "b": 6
  },
  "hsl": {
    "h": 52.174,
    "s": 79.31,
    "l": 11.373
  },
  "oklch": {
    "l": 0.29898,
    "c": 0.0565,
    "h": 100.5
  },
  "luminance": 0.02697
}

Semantic roles & 50–950 ramp

primary
#342E06
secondary
#212C74
accent
#4CF632
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070501
muted
#7A7A77

Preview Lab

Preview with #342E06

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

Preview Lab → · Contrast checker → · Palette generator →

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