#342E09#342E09

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

Color values

HEX#342E09
RGBrgb(52, 46, 9)
HSLhsl(52, 70%, 12%)
HSVhsv(52, 83%, 20%)
CMYKcmyk(0%, 11.5%, 82.7%, 79.6%)
CIE-LABlab(18.82, -2.52, 23.12)
CIE-LCHlch(18.82, 23.26, 96.22°)
OKLaboklab(29.93% -0.0092 0.0529)
OKLCHoklch(29.93% 0.054 99.9)
XYZxyz(2.4426, 2.7039, 0.6516)
Luminance0.0270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342E09 #090F34
analogous
#341909 #342E09 #253409
triadic
#342E09 #09342E #2E0934
tetradic
#342E09 #093419 #090F34 #340925
square
#342E09 #093419 #090F34 #340925
split-complementary
#342E09 #092534 #190934
monochromatic
#1A1705 #1A1705 #342E09 #685C12 #9C8A1B

Accessibility & contrast

On white

13.63
#342E09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #342E09
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342E09#FFFFFF#000000##FFFFFF
##342E091.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C05
Deuteranopia (green-blind)
#352F0B
Tritanopia (blue-blind)
#392A27
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #342e09;
/* rgb */ color: rgb(52, 46, 9);
/* oklch */ color: oklch(29.9% 0.054 99.9);
Tailwind
colors: {
  custom: {
    50: '#6d664b',
    500: '#342e09',
    950: '#000000',
  },
}
SCSS
$custom: #342e09;
$custom-light: #6d664b;
$custom-dark: #000000;
JSON
{
  "hex": "#342e09",
  "rgb": {
    "r": 52,
    "g": 46,
    "b": 9
  },
  "hsl": {
    "h": 51.628,
    "s": 70.492,
    "l": 11.961
  },
  "oklch": {
    "l": 0.29929,
    "c": 0.05372,
    "h": 99.9
  },
  "luminance": 0.02704
}

Semantic roles & 50–950 ramp

primary
#342E09
secondary
#273172
accent
#53ED3B
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070501
muted
#7A7A77

Preview Lab

Preview with #342E09

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

Preview Lab → · Contrast checker → · Palette generator →

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