#343102#343102

#343102 is a dark, moderate yellow. Relative luminance 0.029; OKLCH L 30.7% C 0.063 H 105.8°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#343102
RGBrgb(52, 49, 2)
HSLhsl(56, 93%, 11%)
HSVhsv(56, 96%, 20%)
CMYKcmyk(0%, 5.8%, 96.2%, 79.6%)
CIE-LABlab(19.77, -4.96, 27.07)
CIE-LCHlch(19.77, 27.52, 100.39°)
OKLaboklab(30.66% -0.0172 0.061)
OKLCHoklch(30.66% 0.063 105.8)
XYZxyz(2.5256, 2.9312, 0.4902)
Luminance0.0293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343102 #020534
analogous
#341802 #343102 #1E3402
triadic
#343102 #023431 #310234
tetradic
#343102 #023418 #020534 #34021E
square
#343102 #023418 #020534 #34021E
split-complementary
#343102 #021E34 #180234
monochromatic
#1D1C01 #1D1C01 #343102 #6F6904 #AAA007

Accessibility & contrast

On white

13.24
#343102 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#343102 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343102
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343102#FFFFFF#000000##FFFFFF
##3431021.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F00
Deuteranopia (green-blind)
#383105
Tritanopia (blue-blind)
#392D28
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #343102;
/* rgb */ color: rgb(52, 49, 2);
/* oklch */ color: oklch(30.7% 0.063 105.8);
Tailwind
colors: {
  custom: {
    50: '#6d6848',
    500: '#343102',
    950: '#000000',
  },
}
SCSS
$custom: #343102;
$custom-light: #6d6848;
$custom-dark: #000000;
JSON
{
  "hex": "#343102",
  "rgb": {
    "r": 52,
    "g": 49,
    "b": 2
  },
  "hsl": {
    "h": 56.4,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.30663,
    "c": 0.0634,
    "h": 105.8
  },
  "luminance": 0.02931
}

Semantic roles & 50–950 ramp

primary
#343102
secondary
#1A1F78
accent
#36FF29
background
#F6F6F4
surface
#ECEBE6
border
#C7C6C2
text
#070600
muted
#7A7A77

Preview Lab

Preview with #343102

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

Preview Lab → · Contrast checker → · Palette generator →

#343102 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva