#343B04#343B04

#343B04 is a dark, moderate yellow. Relative luminance 0.039; OKLCH L 33.4% C 0.074 H 117.1°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#343B04
RGBrgb(52, 59, 4)
HSLhsl(68, 87%, 12%)
HSVhsv(68, 93%, 23%)
CMYKcmyk(11.9%, 0%, 93.2%, 76.9%)
CIE-LABlab(23.23, -11.03, 29.99)
CIE-LCHlch(23.23, 31.95, 110.19°)
OKLaboklab(33.44% -0.0336 0.0657)
OKLCHoklch(33.44% 0.074 117.1)
XYZxyz(3.0021, 3.8668, 0.7031)
Luminance0.0387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343B04 #0B043B
analogous
#3B2604 #343B04 #193B04
triadic
#343B04 #04343B #3B0434
tetradic
#343B04 #043B26 #0B043B #3B0419
square
#343B04 #043B26 #0B043B #3B0419
split-complementary
#343B04 #04193B #26043B
monochromatic
#191D02 #191D02 #343B04 #677408 #99AE0C

Accessibility & contrast

On white

11.84
#343B04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#343B04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343B04
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343B04#FFFFFF#000000##FFFFFF
##343B041.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403700
Deuteranopia (green-blind)
#3F3809
Tritanopia (blue-blind)
#383731
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #343b04;
/* rgb */ color: rgb(52, 59, 4);
/* oklch */ color: oklch(33.4% 0.074 117.1);
Tailwind
colors: {
  custom: {
    50: '#6e704a',
    500: '#343b04',
    950: '#000000',
  },
}
SCSS
$custom: #343b04;
$custom-light: #6e704a;
$custom-dark: #000000;
JSON
{
  "hex": "#343b04",
  "rgb": {
    "r": 52,
    "g": 59,
    "b": 4
  },
  "hsl": {
    "h": 67.636,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.3344,
    "c": 0.07378,
    "h": 117.1
  },
  "luminance": 0.03867
}

Semantic roles & 50–950 ramp

primary
#343B04
secondary
#2A1E7D
accent
#2AFD45
background
#F6F6F4
surface
#ECECE7
border
#C7C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #343B04

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

Preview Lab → · Contrast checker → · Palette generator →

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