#343A0F#343A0F

#343A0F is a dark, moderate yellow. Relative luminance 0.038; OKLCH L 33.3% C 0.064 H 116.7°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#343A0F
RGBrgb(52, 58, 15)
HSLhsl(68, 59%, 14%)
HSVhsv(68, 74%, 23%)
CMYKcmyk(10.3%, 0%, 74.1%, 77.3%)
CIE-LABlab(22.97, -9.68, 24.96)
CIE-LCHlch(22.97, 26.77, 111.19°)
OKLaboklab(33.26% -0.0286 0.0567)
OKLCHoklch(33.26% 0.064 116.7)
XYZxyz(3.0155, 3.7907, 1.0247)
Luminance0.0379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343A0F #150F3A
analogous
#3A2B0F #343A0F #1F3A0F
triadic
#343A0F #0F343A #3A0F34
tetradic
#343A0F #0F3A2B #150F3A #3A0F1F
square
#343A0F #0F3A2B #150F3A #3A0F1F
split-complementary
#343A0F #0F1F3A #2B0F3A
monochromatic
#161806 #161806 #343A0F #606B1C #8B9B28

Accessibility & contrast

On white

11.94
#343A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#343A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343A0F
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343A0F#FFFFFF#000000##FFFFFF
##343A0F1.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3709
Deuteranopia (green-blind)
#3E3712
Tritanopia (blue-blind)
#383631
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #343a0f;
/* rgb */ color: rgb(52, 58, 15);
/* oklch */ color: oklch(33.3% 0.064 116.7);
Tailwind
colors: {
  custom: {
    50: '#6d7050',
    500: '#343a0f',
    950: '#000000',
  },
}
SCSS
$custom: #343a0f;
$custom-light: #6d7050;
$custom-dark: #000000;
JSON
{
  "hex": "#343a0f",
  "rgb": {
    "r": 52,
    "g": 58,
    "b": 15
  },
  "hsl": {
    "h": 68.372,
    "s": 58.904,
    "l": 14.314
  },
  "oklch": {
    "l": 0.33259,
    "c": 0.06353,
    "h": 116.7
  },
  "luminance": 0.03791
}

Semantic roles & 50–950 ramp

primary
#343A0F
secondary
#3A3074
accent
#46E25C
background
#F6F6F4
surface
#ECECE7
border
#C7C7C3
text
#070702
muted
#7A7A78

Preview Lab

Preview with #343A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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