#342F07#342F07

#342F07 is a dark, muted yellow. Relative luminance 0.028; OKLCH L 30.2% C 0.057 H 102.0°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#342F07
RGBrgb(52, 47, 7)
HSLhsl(53, 76%, 12%)
HSVhsv(53, 87%, 20%)
CMYKcmyk(0%, 9.6%, 86.5%, 79.6%)
CIE-LABlab(19.13, -3.32, 24.31)
CIE-LCHlch(19.13, 24.53, 97.77°)
OKLaboklab(30.18% -0.0118 0.0553)
OKLCHoklch(30.18% 0.057 102)
XYZxyz(2.4712, 2.7785, 0.6071)
Luminance0.0278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342F07 #070C34
analogous
#341907 #342F07 #233407
triadic
#342F07 #07342F #2F0734
tetradic
#342F07 #073419 #070C34 #340723
square
#342F07 #073419 #070C34 #340723
split-complementary
#342F07 #072334 #190734
monochromatic
#1B1804 #1B1804 #342F07 #6A600E #A09116

Accessibility & contrast

On white

13.50
#342F07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #342F07
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342F07#FFFFFF#000000##FFFFFF
##342F071.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D02
Deuteranopia (green-blind)
#362F09
Tritanopia (blue-blind)
#392B27
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #342f07;
/* rgb */ color: rgb(52, 47, 7);
/* oklch */ color: oklch(30.2% 0.057 102.0);
Tailwind
colors: {
  custom: {
    50: '#6d674a',
    500: '#342f07',
    950: '#000000',
  },
}
SCSS
$custom: #342f07;
$custom-light: #6d674a;
$custom-dark: #000000;
JSON
{
  "hex": "#342f07",
  "rgb": {
    "r": 52,
    "g": 47,
    "b": 7
  },
  "hsl": {
    "h": 53.333,
    "s": 76.271,
    "l": 11.569
  },
  "oklch": {
    "l": 0.30175,
    "c": 0.05658,
    "h": 102
  },
  "luminance": 0.02778
}

Semantic roles & 50–950 ramp

primary
#342F07
secondary
#232C74
accent
#4AF335
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #342F07

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

Preview Lab → · Contrast checker → · Palette generator →

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