#342A08#342A08

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

Color values

HEX#342A08
RGBrgb(52, 42, 8)
HSLhsl(46, 73%, 12%)
HSVhsv(46, 85%, 20%)
CMYKcmyk(0%, 19.2%, 84.6%, 79.6%)
CIE-LABlab(17.48, 0.07, 21.94)
CIE-LCHlch(17.48, 21.94, 89.81°)
OKLaboklab(28.87% -0.002 0.051)
OKLCHoklch(28.87% 0.051 92.2)
XYZxyz(2.2881, 2.4037, 0.5731)
Luminance0.0240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342A08 #081234
analogous
#341408 #342A08 #283408
triadic
#342A08 #08342A #2A0834
tetradic
#342A08 #083414 #081234 #340828
square
#342A08 #083414 #081234 #340828
split-complementary
#342A08 #082834 #140834
monochromatic
#1B1504 #1B1504 #342A08 #695510 #9E8018

Accessibility & contrast

On white

14.18
#342A08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #342A08
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342A08#FFFFFF#000000##FFFFFF
##342A081.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #342a08;
/* rgb */ color: rgb(52, 42, 8);
/* oklch */ color: oklch(28.9% 0.051 92.2);
Tailwind
colors: {
  custom: {
    50: '#6d634a',
    500: '#342a08',
    950: '#000000',
  },
}
SCSS
$custom: #342a08;
$custom-light: #6d634a;
$custom-dark: #000000;
JSON
{
  "hex": "#342a08",
  "rgb": {
    "r": 52,
    "g": 42,
    "b": 8
  },
  "hsl": {
    "h": 46.364,
    "s": 73.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.28866,
    "c": 0.05104,
    "h": 92.2
  },
  "luminance": 0.02404
}

Semantic roles & 50–950 ramp

primary
#342A08
secondary
#253773
accent
#62F038
background
#F6F5F4
surface
#ECEAE7
border
#C7C6C3
text
#070501
muted
#7A7977

Preview Lab

Preview with #342A08

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

Preview Lab → · Contrast checker → · Palette generator →

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