#342F10#342F10

#342F10 is a dark, muted yellow. Relative luminance 0.028; OKLCH L 30.3% C 0.048 H 100.2°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#342F10
RGBrgb(52, 47, 16)
HSLhsl(52, 53%, 13%)
HSVhsv(52, 69%, 20%)
CMYKcmyk(0%, 9.6%, 69.2%, 79.6%)
CIE-LABlab(19.23, -2.62, 20.31)
CIE-LCHlch(19.23, 20.48, 97.36°)
OKLaboklab(30.28% -0.0085 0.0471)
OKLCHoklch(30.28% 0.048 100.2)
XYZxyz(2.5263, 2.8006, 0.8976)
Luminance0.0280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342F10 #101534
analogous
#341D10 #342F10 #273410
triadic
#342F10 #10342F #2F1034
tetradic
#342F10 #10341D #101534 #341027
square
#342F10 #10341D #101534 #341027
split-complementary
#342F10 #102734 #1D1034
monochromatic
#171507 #171507 #342F10 #63591E #92842D

Accessibility & contrast

On white

13.46
#342F10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#342F10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342F10
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342F10#FFFFFF#000000##FFFFFF
##342F101.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342E0D
Deuteranopia (green-blind)
#352F12
Tritanopia (blue-blind)
#382B28
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #342f10;
/* rgb */ color: rgb(52, 47, 16);
/* oklch */ color: oklch(30.3% 0.048 100.2);
Tailwind
colors: {
  custom: {
    50: '#6d674f',
    500: '#342f10',
    950: '#000000',
  },
}
SCSS
$custom: #342f10;
$custom-light: #6d674f;
$custom-dark: #000000;
JSON
{
  "hex": "#342f10",
  "rgb": {
    "r": 52,
    "g": 47,
    "b": 16
  },
  "hsl": {
    "h": 51.667,
    "s": 52.941,
    "l": 13.333
  },
  "oklch": {
    "l": 0.30278,
    "c": 0.04783,
    "h": 100.2
  },
  "luminance": 0.02801
}

Semantic roles & 50–950 ramp

primary
#342F10
secondary
#323B6E
accent
#60DC4B
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070602
muted
#7A7A78

Preview Lab

Preview with #342F10

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

Preview Lab → · Contrast checker → · Palette generator →

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