#343A04#343A04

#343A04 is a dark, moderate yellow. Relative luminance 0.038; OKLCH L 33.2% C 0.072 H 116.2°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#343A04
RGBrgb(52, 58, 4)
HSLhsl(67, 87%, 12%)
HSVhsv(67, 93%, 23%)
CMYKcmyk(10.3%, 0%, 93.1%, 77.3%)
CIE-LABlab(22.88, -10.43, 29.63)
CIE-LCHlch(22.88, 31.41, 109.39°)
OKLaboklab(33.16% -0.032 0.065)
OKLCHoklch(33.16% 0.072 116.2)
XYZxyz(2.9512, 3.7650, 0.6861)
Luminance0.0377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343A04 #0A043A
analogous
#3A2504 #343A04 #193A04
triadic
#343A04 #04343A #3A0434
tetradic
#343A04 #043A25 #0A043A #3A0419
square
#343A04 #043A25 #0A043A #3A0419
split-complementary
#343A04 #04193A #25043A
monochromatic
#1A1D02 #1A1D02 #343A04 #677308 #9BAD0C

Accessibility & contrast

On white

11.98
#343A04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#343A04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343A04
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343A04#FFFFFF#000000##FFFFFF
##343A041.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3600
Deuteranopia (green-blind)
#3E3709
Tritanopia (blue-blind)
#383630
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #343a04;
/* rgb */ color: rgb(52, 58, 4);
/* oklch */ color: oklch(33.2% 0.072 116.2);
Tailwind
colors: {
  custom: {
    50: '#6e704a',
    500: '#343a04',
    950: '#000000',
  },
}
SCSS
$custom: #343a04;
$custom-light: #6e704a;
$custom-dark: #000000;
JSON
{
  "hex": "#343a04",
  "rgb": {
    "r": 52,
    "g": 58,
    "b": 4
  },
  "hsl": {
    "h": 66.667,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.3316,
    "c": 0.07246,
    "h": 116.2
  },
  "luminance": 0.03765
}

Semantic roles & 50–950 ramp

primary
#343A04
secondary
#281E7C
accent
#2BFD42
background
#F6F6F4
surface
#ECECE7
border
#C7C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #343A04

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

Preview Lab → · Contrast checker → · Palette generator →

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