#342E08#342E08

#342E08 is a dark, muted yellow. Relative luminance 0.027; OKLCH L 29.9% C 0.055 H 100.1°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#342E08
RGBrgb(52, 46, 8)
HSLhsl(52, 73%, 12%)
HSVhsv(52, 85%, 20%)
CMYKcmyk(0%, 11.5%, 84.6%, 79.6%)
CIE-LABlab(18.81, -2.59, 23.52)
CIE-LCHlch(18.81, 23.66, 96.29°)
OKLaboklab(29.92% -0.0096 0.0538)
OKLCHoklch(29.92% 0.055 100.1)
XYZxyz(2.4371, 2.7017, 0.6228)
Luminance0.0270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342E08 #080E34
analogous
#341808 #342E08 #243408
triadic
#342E08 #08342E #2E0834
tetradic
#342E08 #083418 #080E34 #340824
square
#342E08 #083418 #080E34 #340824
split-complementary
#342E08 #082434 #180834
monochromatic
#1B1704 #1B1704 #342E08 #695D10 #9E8C18

Accessibility & contrast

On white

13.63
#342E08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #342E08
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342E08#FFFFFF#000000##FFFFFF
##342E081.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C04
Deuteranopia (green-blind)
#352F0A
Tritanopia (blue-blind)
#392A26
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #342e08;
/* rgb */ color: rgb(52, 46, 8);
/* oklch */ color: oklch(29.9% 0.055 100.1);
Tailwind
colors: {
  custom: {
    50: '#6d664b',
    500: '#342e08',
    950: '#000000',
  },
}
SCSS
$custom: #342e08;
$custom-light: #6d664b;
$custom-dark: #000000;
JSON
{
  "hex": "#342e08",
  "rgb": {
    "r": 52,
    "g": 46,
    "b": 8
  },
  "hsl": {
    "h": 51.818,
    "s": 73.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.29918,
    "c": 0.05463,
    "h": 100.1
  },
  "luminance": 0.02702
}

Semantic roles & 50–950 ramp

primary
#342E08
secondary
#253073
accent
#51F038
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070501
muted
#7A7A77

Preview Lab

Preview with #342E08

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

Preview Lab → · Contrast checker → · Palette generator →

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