#343B0B#343B0B

#343B0B is a dark, moderate yellow. Relative luminance 0.039; OKLCH L 33.5% C 0.068 H 117.5°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#343B0B
RGBrgb(52, 59, 11)
HSLhsl(69, 69%, 14%)
HSVhsv(69, 81%, 23%)
CMYKcmyk(11.9%, 0%, 81.4%, 76.9%)
CIE-LABlab(23.28, -10.58, 27.18)
CIE-LCHlch(23.28, 29.17, 111.26°)
OKLaboklab(33.5% -0.0316 0.0607)
OKLCHoklch(33.5% 0.068 117.5)
XYZxyz(3.0406, 3.8822, 0.9057)
Luminance0.0388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343B0B #120B3B
analogous
#3B2A0B #343B0B #1C3B0B
triadic
#343B0B #0B343B #3B0B34
tetradic
#343B0B #0B3B2A #120B3B #3B0B1C
square
#343B0B #0B3B2A #120B3B #3B0B1C
split-complementary
#343B0B #0B1C3B #2A0B3B
monochromatic
#171A05 #171A05 #343B0B #616F15 #8FA21E

Accessibility & contrast

On white

11.82
#343B0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#343B0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343B0B
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343B0B#FFFFFF#000000##FFFFFF
##343B0B1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403704
Deuteranopia (green-blind)
#3F380F
Tritanopia (blue-blind)
#383732
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #343b0b;
/* rgb */ color: rgb(52, 59, 11);
/* oklch */ color: oklch(33.5% 0.068 117.5);
Tailwind
colors: {
  custom: {
    50: '#6d704e',
    500: '#343b0b',
    950: '#000000',
  },
}
SCSS
$custom: #343b0b;
$custom-light: #6d704e;
$custom-dark: #000000;
JSON
{
  "hex": "#343b0b",
  "rgb": {
    "r": 52,
    "g": 59,
    "b": 11
  },
  "hsl": {
    "h": 68.75,
    "s": 68.571,
    "l": 13.725
  },
  "oklch": {
    "l": 0.33498,
    "c": 0.06841,
    "h": 117.5
  },
  "luminance": 0.03882
}

Semantic roles & 50–950 ramp

primary
#343B0B
secondary
#352A78
accent
#3CEB56
background
#F6F6F4
surface
#ECECE7
border
#C7C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #343B0B

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

Preview Lab → · Contrast checker → · Palette generator →

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