#343C04#343C04

#343C04 is a dark, moderate yellow. Relative luminance 0.040; OKLCH L 33.7% C 0.075 H 118.0°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#343C04
RGBrgb(52, 60, 4)
HSLhsl(69, 88%, 13%)
HSVhsv(69, 93%, 24%)
CMYKcmyk(13.3%, 0%, 93.3%, 76.5%)
CIE-LABlab(23.57, -11.62, 30.34)
CIE-LCHlch(23.57, 32.49, 110.96°)
OKLaboklab(33.72% -0.0353 0.0663)
OKLCHoklch(33.72% 0.075 118)
XYZxyz(3.0540, 3.9706, 0.7204)
Luminance0.0397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343C04 #0C043C
analogous
#3C2804 #343C04 #183C04
triadic
#343C04 #04343C #3C0434
tetradic
#343C04 #043C28 #0C043C #3C0418
square
#343C04 #043C28 #0C043C #3C0418
split-complementary
#343C04 #04183C #28043C
monochromatic
#191D02 #191D02 #343C04 #667508 #97AF0C

Accessibility & contrast

On white

11.70
#343C04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#343C04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343C04
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343C04#FFFFFF#000000##FFFFFF
##343C041.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413800
Deuteranopia (green-blind)
#403809
Tritanopia (blue-blind)
#383832
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #343c04;
/* rgb */ color: rgb(52, 60, 4);
/* oklch */ color: oklch(33.7% 0.075 118.0);
Tailwind
colors: {
  custom: {
    50: '#6e714a',
    500: '#343c04',
    950: '#000000',
  },
}
SCSS
$custom: #343c04;
$custom-light: #6e714a;
$custom-dark: #000000;
JSON
{
  "hex": "#343c04",
  "rgb": {
    "r": 52,
    "g": 60,
    "b": 4
  },
  "hsl": {
    "h": 68.571,
    "s": 87.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.3372,
    "c": 0.07509,
    "h": 118
  },
  "luminance": 0.03971
}

Semantic roles & 50–950 ramp

primary
#343C04
secondary
#2C1E7E
accent
#2AFE48
background
#F6F6F4
surface
#ECECE7
border
#C7C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #343C04

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

Preview Lab → · Contrast checker → · Palette generator →

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