#342B07#342B07

#342B07 is a dark, muted yellow. Relative luminance 0.025; OKLCH L 29.1% C 0.053 H 94.6°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#342B07
RGBrgb(52, 43, 7)
HSLhsl(48, 76%, 12%)
HSVhsv(48, 87%, 20%)
CMYKcmyk(0%, 17.3%, 86.5%, 79.6%)
CIE-LABlab(17.80, -0.67, 22.73)
CIE-LCHlch(17.80, 22.74, 91.69°)
OKLaboklab(29.12% -0.0043 0.0526)
OKLCHoklch(29.12% 0.053 94.6)
XYZxyz(2.3185, 2.4733, 0.5562)
Luminance0.0247 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342B07 #071034
analogous
#341507 #342B07 #273407
triadic
#342B07 #07342B #2B0734
tetradic
#342B07 #073415 #071034 #340727
square
#342B07 #073415 #071034 #340727
split-complementary
#342B07 #072734 #150734
monochromatic
#1B1604 #1B1604 #342B07 #6A580E #A08416

Accessibility & contrast

On white

14.05
#342B07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#342B07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342B07
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342B07#FFFFFF#000000##FFFFFF
##342B071.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A03
Deuteranopia (green-blind)
#332D09
Tritanopia (blue-blind)
#392724
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #342b07;
/* rgb */ color: rgb(52, 43, 7);
/* oklch */ color: oklch(29.1% 0.053 94.6);
Tailwind
colors: {
  custom: {
    50: '#6d644a',
    500: '#342b07',
    950: '#000000',
  },
}
SCSS
$custom: #342b07;
$custom-light: #6d644a;
$custom-dark: #000000;
JSON
{
  "hex": "#342b07",
  "rgb": {
    "r": 52,
    "g": 43,
    "b": 7
  },
  "hsl": {
    "h": 48,
    "s": 76.271,
    "l": 11.569
  },
  "oklch": {
    "l": 0.29115,
    "c": 0.05279,
    "h": 94.6
  },
  "luminance": 0.02473
}

Semantic roles & 50–950 ramp

primary
#342B07
secondary
#233374
accent
#5BF335
background
#F6F5F4
surface
#ECEAE7
border
#C7C6C3
text
#070501
muted
#7A7977

Preview Lab

Preview with #342B07

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

Preview Lab → · Contrast checker → · Palette generator →

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