#342A07#342A07

#342A07 is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.9% C 0.052 H 92.6°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#342A07
RGBrgb(52, 42, 7)
HSLhsl(47, 76%, 12%)
HSVhsv(47, 87%, 20%)
CMYKcmyk(0%, 19.2%, 86.5%, 79.6%)
CIE-LABlab(17.47, 0.00, 22.33)
CIE-LCHlch(17.47, 22.33, 90.00°)
OKLaboklab(28.85% -0.0023 0.0519)
OKLCHoklch(28.85% 0.052 92.6)
XYZxyz(2.2826, 2.4015, 0.5443)
Luminance0.0240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342A07 #071134
analogous
#341407 #342A07 #283407
triadic
#342A07 #07342A #2A0734
tetradic
#342A07 #073414 #071134 #340728
square
#342A07 #073414 #071134 #340728
split-complementary
#342A07 #072834 #140734
monochromatic
#1B1604 #1B1604 #342A07 #6A560E #A08116

Accessibility & contrast

On white

14.19
#342A07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#342A07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342A07
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342A07#FFFFFF#000000##FFFFFF
##342A071.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302903
Deuteranopia (green-blind)
#322C09
Tritanopia (blue-blind)
#392623
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #342a07;
/* rgb */ color: rgb(52, 42, 7);
/* oklch */ color: oklch(28.9% 0.052 92.6);
Tailwind
colors: {
  custom: {
    50: '#6d634a',
    500: '#342a07',
    950: '#000000',
  },
}
SCSS
$custom: #342a07;
$custom-light: #6d634a;
$custom-dark: #000000;
JSON
{
  "hex": "#342a07",
  "rgb": {
    "r": 52,
    "g": 42,
    "b": 7
  },
  "hsl": {
    "h": 46.667,
    "s": 76.271,
    "l": 11.569
  },
  "oklch": {
    "l": 0.28854,
    "c": 0.05199,
    "h": 92.6
  },
  "luminance": 0.02401
}

Semantic roles & 50–950 ramp

primary
#342A07
secondary
#233574
accent
#5FF335
background
#F6F5F4
surface
#ECEAE7
border
#C7C6C3
text
#070501
muted
#7A7977

Preview Lab

Preview with #342A07

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

Preview Lab → · Contrast checker → · Palette generator →

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