#342C07#342C07

#342C07 is a dark, muted yellow. Relative luminance 0.025; OKLCH L 29.4% C 0.054 H 96.6°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#342C07
RGBrgb(52, 44, 7)
HSLhsl(49, 76%, 12%)
HSVhsv(49, 87%, 20%)
CMYKcmyk(0%, 15.4%, 86.5%, 79.6%)
CIE-LABlab(18.13, -1.34, 23.13)
CIE-LCHlch(18.13, 23.16, 93.31°)
OKLaboklab(29.38% -0.0062 0.0533)
OKLCHoklch(29.38% 0.054 96.6)
XYZxyz(2.3553, 2.5469, 0.5685)
Luminance0.0255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342C07 #070F34
analogous
#341607 #342C07 #263407
triadic
#342C07 #07342C #2C0734
tetradic
#342C07 #073416 #070F34 #340726
square
#342C07 #073416 #070F34 #340726
split-complementary
#342C07 #072634 #160734
monochromatic
#1B1704 #1B1704 #342C07 #6A5A0E #A08716

Accessibility & contrast

On white

13.91
#342C07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#342C07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342C07
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342C07#FFFFFF#000000##FFFFFF
##342C071.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B03
Deuteranopia (green-blind)
#342D09
Tritanopia (blue-blind)
#392825
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #342c07;
/* rgb */ color: rgb(52, 44, 7);
/* oklch */ color: oklch(29.4% 0.054 96.6);
Tailwind
colors: {
  custom: {
    50: '#6d644a',
    500: '#342c07',
    950: '#000000',
  },
}
SCSS
$custom: #342c07;
$custom-light: #6d644a;
$custom-dark: #000000;
JSON
{
  "hex": "#342c07",
  "rgb": {
    "r": 52,
    "g": 44,
    "b": 7
  },
  "hsl": {
    "h": 49.333,
    "s": 76.271,
    "l": 11.569
  },
  "oklch": {
    "l": 0.29378,
    "c": 0.05366,
    "h": 96.6
  },
  "luminance": 0.02547
}

Semantic roles & 50–950 ramp

primary
#342C07
secondary
#233174
accent
#57F335
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070501
muted
#7A7A77

Preview Lab

Preview with #342C07

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

Preview Lab → · Contrast checker → · Palette generator →

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