#342C02#342C02

#342C02 is a dark, muted yellow. Relative luminance 0.025; OKLCH L 29.3% C 0.059 H 97.9°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#342C02
RGBrgb(52, 44, 2)
HSLhsl(50, 93%, 11%)
HSVhsv(50, 96%, 20%)
CMYKcmyk(0%, 15.4%, 96.2%, 79.6%)
CIE-LABlab(18.08, -1.69, 25.10)
CIE-LCHlch(18.08, 25.16, 93.86°)
OKLaboklab(29.32% -0.0081 0.058)
OKLCHoklch(29.32% 0.059 97.9)
XYZxyz(2.3279, 2.5359, 0.4243)
Luminance0.0254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342C02 #020A34
analogous
#341302 #342C02 #233402
triadic
#342C02 #02342C #2C0234
tetradic
#342C02 #023413 #020A34 #340223
square
#342C02 #023413 #020A34 #340223
split-complementary
#342C02 #022334 #130234
monochromatic
#1D1901 #1D1901 #342C02 #6F5E04 #AA9007

Accessibility & contrast

On white

13.93
#342C02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #342C02
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342C02#FFFFFF#000000##FFFFFF
##342C021.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B00
Deuteranopia (green-blind)
#342D04
Tritanopia (blue-blind)
#392824
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #342c02;
/* rgb */ color: rgb(52, 44, 2);
/* oklch */ color: oklch(29.3% 0.059 97.9);
Tailwind
colors: {
  custom: {
    50: '#6d6448',
    500: '#342c02',
    950: '#000000',
  },
}
SCSS
$custom: #342c02;
$custom-light: #6d6448;
$custom-dark: #000000;
JSON
{
  "hex": "#342c02",
  "rgb": {
    "r": 52,
    "g": 44,
    "b": 2
  },
  "hsl": {
    "h": 50.4,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.29324,
    "c": 0.05856,
    "h": 97.9
  },
  "luminance": 0.02536
}

Semantic roles & 50–950 ramp

primary
#342C02
secondary
#1A2978
accent
#4BFF29
background
#F6F6F4
surface
#ECEBE6
border
#C7C6C2
text
#070500
muted
#7A7A77

Preview Lab

Preview with #342C02

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

Preview Lab → · Contrast checker → · Palette generator →

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