#343A06#343A06

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

Color values

HEX#343A06
RGBrgb(52, 58, 6)
HSLhsl(67, 81%, 13%)
HSVhsv(67, 90%, 23%)
CMYKcmyk(10.3%, 0%, 89.7%, 77.3%)
CIE-LABlab(22.89, -10.30, 28.83)
CIE-LCHlch(22.89, 30.62, 109.65°)
OKLaboklab(33.18% -0.0314 0.0636)
OKLCHoklch(33.18% 0.071 116.3)
XYZxyz(2.9622, 3.7694, 0.7438)
Luminance0.0377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343A06 #0C063A
analogous
#3A2606 #343A06 #1A3A06
triadic
#343A06 #06343A #3A0634
tetradic
#343A06 #063A26 #0C063A #3A061A
square
#343A06 #063A26 #0C063A #3A061A
split-complementary
#343A06 #061A3A #26063A
monochromatic
#191C03 #191C03 #343A06 #66710C #97A911

Accessibility & contrast

On white

11.97
#343A06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #343A06
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343A06#FFFFFF#000000##FFFFFF
##343A061.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #343a06;
/* rgb */ color: rgb(52, 58, 6);
/* oklch */ color: oklch(33.2% 0.071 116.3);
Tailwind
colors: {
  custom: {
    50: '#6e704b',
    500: '#343a06',
    950: '#000000',
  },
}
SCSS
$custom: #343a06;
$custom-light: #6e704b;
$custom-dark: #000000;
JSON
{
  "hex": "#343a06",
  "rgb": {
    "r": 52,
    "g": 58,
    "b": 6
  },
  "hsl": {
    "h": 66.923,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.33177,
    "c": 0.07088,
    "h": 116.3
  },
  "luminance": 0.03769
}

Semantic roles & 50–950 ramp

primary
#343A06
secondary
#2C227A
accent
#30F847
background
#F6F6F4
surface
#ECECE7
border
#C7C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #343A06

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

Preview Lab → · Contrast checker → · Palette generator →

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