#343B0F#343B0F

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

Color values

HEX#343B0F
RGBrgb(52, 59, 15)
HSLhsl(70, 59%, 15%)
HSVhsv(70, 75%, 23%)
CMYKcmyk(11.9%, 0%, 74.6%, 76.9%)
CIE-LABlab(23.31, -10.28, 25.32)
CIE-LCHlch(23.31, 27.33, 112.09°)
OKLaboklab(33.54% -0.0303 0.0575)
OKLCHoklch(33.54% 0.065 117.8)
XYZxyz(3.0664, 3.8925, 1.0416)
Luminance0.0389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343B0F #160F3B
analogous
#3B2C0F #343B0F #1E3B0F
triadic
#343B0F #0F343B #3B0F34
tetradic
#343B0F #0F3B2C #160F3B #3B0F1E
square
#343B0F #0F3B2C #160F3B #3B0F1E
split-complementary
#343B0F #0F1E3B #2C0F3B
monochromatic
#161806 #161806 #343B0F #5F6C1B #8A9D28

Accessibility & contrast

On white

11.81
#343B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #343B0F
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343B0F#FFFFFF#000000##FFFFFF
##343B0F1.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3709
Deuteranopia (green-blind)
#3F3812
Tritanopia (blue-blind)
#383732
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #343b0f;
/* rgb */ color: rgb(52, 59, 15);
/* oklch */ color: oklch(33.5% 0.065 117.8);
Tailwind
colors: {
  custom: {
    50: '#6d7050',
    500: '#343b0f',
    950: '#000000',
  },
}
SCSS
$custom: #343b0f;
$custom-light: #6d7050;
$custom-dark: #000000;
JSON
{
  "hex": "#343b0f",
  "rgb": {
    "r": 52,
    "g": 59,
    "b": 15
  },
  "hsl": {
    "h": 69.545,
    "s": 59.459,
    "l": 14.51
  },
  "oklch": {
    "l": 0.33537,
    "c": 0.06499,
    "h": 117.8
  },
  "luminance": 0.03892
}

Semantic roles & 50–950 ramp

primary
#343B0F
secondary
#3B3075
accent
#45E35E
background
#F6F6F4
surface
#ECECE7
border
#C7C7C3
text
#070702
muted
#7A7A78

Preview Lab

Preview with #343B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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