#342F06#342F06

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

Color values

HEX#342F06
RGBrgb(52, 47, 6)
HSLhsl(53, 79%, 11%)
HSVhsv(53, 88%, 20%)
CMYKcmyk(0%, 9.6%, 88.5%, 79.6%)
CIE-LABlab(19.13, -3.39, 24.70)
CIE-LCHlch(19.13, 24.93, 97.81°)
OKLaboklab(30.17% -0.0121 0.0562)
OKLCHoklch(30.17% 0.058 102.2)
XYZxyz(2.4657, 2.7764, 0.5783)
Luminance0.0278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342F06 #060B34
analogous
#341806 #342F06 #223406
triadic
#342F06 #06342F #2F0634
tetradic
#342F06 #063418 #060B34 #340622
square
#342F06 #063418 #060B34 #340622
split-complementary
#342F06 #062234 #180634
monochromatic
#1B1903 #1B1903 #342F06 #6B610C #A29213

Accessibility & contrast

On white

13.50
#342F06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#342F06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342F06
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342F06#FFFFFF#000000##FFFFFF
##342F061.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #342f06;
/* rgb */ color: rgb(52, 47, 6);
/* oklch */ color: oklch(30.2% 0.058 102.2);
Tailwind
colors: {
  custom: {
    50: '#6d674a',
    500: '#342f06',
    950: '#000000',
  },
}
SCSS
$custom: #342f06;
$custom-light: #6d674a;
$custom-dark: #000000;
JSON
{
  "hex": "#342f06",
  "rgb": {
    "r": 52,
    "g": 47,
    "b": 6
  },
  "hsl": {
    "h": 53.478,
    "s": 79.31,
    "l": 11.373
  },
  "oklch": {
    "l": 0.30165,
    "c": 0.05751,
    "h": 102.2
  },
  "luminance": 0.02776
}

Semantic roles & 50–950 ramp

primary
#342F06
secondary
#212A74
accent
#47F632
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #342F06

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

Preview Lab → · Contrast checker → · Palette generator →

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