#342E10#342E10

#342E10 is a dark, muted yellow. Relative luminance 0.027; OKLCH L 30.0% C 0.047 H 98.1°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#342E10
RGBrgb(52, 46, 16)
HSLhsl(50, 53%, 13%)
HSVhsv(50, 69%, 20%)
CMYKcmyk(0%, 11.5%, 69.2%, 79.6%)
CIE-LABlab(18.89, -1.96, 19.92)
CIE-LCHlch(18.89, 20.02, 95.63°)
OKLaboklab(30.01% -0.0066 0.0463)
OKLCHoklch(30.01% 0.047 98.1)
XYZxyz(2.4868, 2.7216, 0.8844)
Luminance0.0272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342E10 #101634
analogous
#341C10 #342E10 #283410
triadic
#342E10 #10342E #2E1034
tetradic
#342E10 #10341C #101634 #341028
square
#342E10 #10341C #101634 #341028
split-complementary
#342E10 #102834 #1C1034
monochromatic
#171507 #171507 #342E10 #63571E #92812D

Accessibility & contrast

On white

13.60
#342E10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#342E10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342E10
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342E10#FFFFFF#000000##FFFFFF
##342E101.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332D0D
Deuteranopia (green-blind)
#342F11
Tritanopia (blue-blind)
#382A27
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #342e10;
/* rgb */ color: rgb(52, 46, 16);
/* oklch */ color: oklch(30.0% 0.047 98.1);
Tailwind
colors: {
  custom: {
    50: '#6d664f',
    500: '#342e10',
    950: '#000000',
  },
}
SCSS
$custom: #342e10;
$custom-light: #6d664f;
$custom-dark: #000000;
JSON
{
  "hex": "#342e10",
  "rgb": {
    "r": 52,
    "g": 46,
    "b": 16
  },
  "hsl": {
    "h": 50,
    "s": 52.941,
    "l": 13.333
  },
  "oklch": {
    "l": 0.30013,
    "c": 0.04673,
    "h": 98.1
  },
  "luminance": 0.02721
}

Semantic roles & 50–950 ramp

primary
#342E10
secondary
#323C6E
accent
#64DC4B
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070502
muted
#7A7A78

Preview Lab

Preview with #342E10

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

Preview Lab → · Contrast checker → · Palette generator →

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