#343A12#343A12

#343A12 is a dark, moderate yellow. Relative luminance 0.038; OKLCH L 33.3% C 0.061 H 117.0°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#343A12
RGBrgb(52, 58, 18)
HSLhsl(69, 53%, 15%)
HSVhsv(69, 69%, 23%)
CMYKcmyk(10.3%, 0%, 69%, 77.3%)
CIE-LABlab(23.00, -9.41, 23.42)
CIE-LCHlch(23.00, 25.24, 111.89°)
OKLaboklab(33.3% -0.0275 0.054)
OKLCHoklch(33.3% 0.061 117)
XYZxyz(3.0385, 3.7999, 1.1455)
Luminance0.0380 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343A12 #18123A
analogous
#3A2C12 #343A12 #203A12
triadic
#343A12 #12343A #3A1234
tetradic
#343A12 #123A2C #18123A #3A1220
square
#343A12 #123A2C #18123A #3A1220
split-complementary
#343A12 #12203A #2C123A
monochromatic
#151707 #151707 #343A12 #5E6920 #88972F

Accessibility & contrast

On white

11.93
#343A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#343A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343A12
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343A12#FFFFFF#000000##FFFFFF
##343A121.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E370D
Deuteranopia (green-blind)
#3E3715
Tritanopia (blue-blind)
#373731
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #343a12;
/* rgb */ color: rgb(52, 58, 18);
/* oklch */ color: oklch(33.3% 0.061 117.0);
Tailwind
colors: {
  custom: {
    50: '#6d7052',
    500: '#343a12',
    950: '#000000',
  },
}
SCSS
$custom: #343a12;
$custom-light: #6d7052;
$custom-dark: #000000;
JSON
{
  "hex": "#343a12",
  "rgb": {
    "r": 52,
    "g": 58,
    "b": 18
  },
  "hsl": {
    "h": 69,
    "s": 52.632,
    "l": 14.902
  },
  "oklch": {
    "l": 0.33295,
    "c": 0.06055,
    "h": 117
  },
  "luminance": 0.038
}

Semantic roles & 50–950 ramp

primary
#343A12
secondary
#3E3573
accent
#4CDC61
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070702
muted
#7A7A78

Preview Lab

Preview with #343A12

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

Preview Lab → · Contrast checker → · Palette generator →

#343A12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva