#342908#342908

#342908 is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.6% C 0.050 H 90.0°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#342908
RGBrgb(52, 41, 8)
HSLhsl(45, 73%, 12%)
HSVhsv(45, 85%, 20%)
CMYKcmyk(0%, 21.2%, 84.6%, 79.6%)
CIE-LABlab(17.15, 0.75, 21.54)
CIE-LCHlch(17.15, 21.55, 88.01°)
OKLaboklab(28.61% 0 0.0503)
OKLCHoklch(28.61% 0.05 90)
XYZxyz(2.2531, 2.3336, 0.5614)
Luminance0.0233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342908 #081334
analogous
#341308 #342908 #293408
triadic
#342908 #083429 #290834
tetradic
#342908 #083413 #081334 #340829
square
#342908 #083413 #081334 #340829
split-complementary
#342908 #082934 #130834
monochromatic
#1B1504 #1B1504 #342908 #695310 #9E7D18

Accessibility & contrast

On white

14.32
#342908 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#342908 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342908
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342908#FFFFFF#000000##FFFFFF
##3429081.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2804
Deuteranopia (green-blind)
#312B0A
Tritanopia (blue-blind)
#392522
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #342908;
/* rgb */ color: rgb(52, 41, 8);
/* oklch */ color: oklch(28.6% 0.050 90.0);
Tailwind
colors: {
  custom: {
    50: '#6d624a',
    500: '#342908',
    950: '#000000',
  },
}
SCSS
$custom: #342908;
$custom-light: #6d624a;
$custom-dark: #000000;
JSON
{
  "hex": "#342908",
  "rgb": {
    "r": 52,
    "g": 41,
    "b": 8
  },
  "hsl": {
    "h": 45,
    "s": 73.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.28607,
    "c": 0.05031,
    "h": 90
  },
  "luminance": 0.02333
}

Semantic roles & 50–950 ramp

primary
#342908
secondary
#253873
accent
#66F038
background
#F6F5F4
surface
#ECEAE7
border
#C7C6C3
text
#070501
muted
#7A7977

Preview Lab

Preview with #342908

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

Preview Lab → · Contrast checker → · Palette generator →

#342908 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva