#343B0C#343B0C

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

Color values

HEX#343B0C
RGBrgb(52, 59, 12)
HSLhsl(69, 66%, 14%)
HSVhsv(69, 80%, 23%)
CMYKcmyk(11.9%, 0%, 79.7%, 76.9%)
CIE-LABlab(23.29, -10.51, 26.74)
CIE-LCHlch(23.29, 28.74, 111.45°)
OKLaboklab(33.51% -0.0313 0.0599)
OKLCHoklch(33.51% 0.068 117.6)
XYZxyz(3.0466, 3.8846, 0.9371)
Luminance0.0389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343B0C #130C3B
analogous
#3B2B0C #343B0C #1D3B0C
triadic
#343B0C #0C343B #3B0C34
tetradic
#343B0C #0C3B2B #130C3B #3B0C1D
square
#343B0C #0C3B2B #130C3B #3B0C1D
split-complementary
#343B0C #0C1D3B #2B0C3B
monochromatic
#161905 #161905 #343B0C #616E16 #8EA121

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##343B0C#FFFFFF#000000##FFFFFF
##343B0C1.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)
#403705
Deuteranopia (green-blind)
#3F3810
Tritanopia (blue-blind)
#383732
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #343b0c;
/* rgb */ color: rgb(52, 59, 12);
/* oklch */ color: oklch(33.5% 0.068 117.6);
Tailwind
colors: {
  custom: {
    50: '#6d704e',
    500: '#343b0c',
    950: '#000000',
  },
}
SCSS
$custom: #343b0c;
$custom-light: #6d704e;
$custom-dark: #000000;
JSON
{
  "hex": "#343b0c",
  "rgb": {
    "r": 52,
    "g": 59,
    "b": 12
  },
  "hsl": {
    "h": 68.936,
    "s": 66.197,
    "l": 13.922
  },
  "oklch": {
    "l": 0.33507,
    "c": 0.06761,
    "h": 117.6
  },
  "luminance": 0.03885
}

Semantic roles & 50–950 ramp

primary
#343B0C
secondary
#372C77
accent
#3FE958
background
#F6F6F4
surface
#ECECE7
border
#C7C7C3
text
#070702
muted
#7A7A78

Preview Lab

Preview with #343B0C

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

Preview Lab → · Contrast checker → · Palette generator →

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