#343902#343902

#343902 is a dark, moderate yellow. Relative luminance 0.037; OKLCH L 32.9% C 0.073 H 115.2°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#343902
RGBrgb(52, 57, 2)
HSLhsl(65, 93%, 12%)
HSVhsv(65, 96%, 22%)
CMYKcmyk(8.8%, 0%, 96.5%, 77.6%)
CIE-LABlab(22.52, -9.95, 30.07)
CIE-LCHlch(22.52, 31.68, 108.32°)
OKLaboklab(32.87% -0.031 0.0659)
OKLCHoklch(32.87% 0.073 115.2)
XYZxyz(2.8904, 3.6608, 0.6118)
Luminance0.0366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343902 #070239
analogous
#392302 #343902 #193902
triadic
#343902 #023439 #390234
tetradic
#343902 #023923 #070239 #390219
square
#343902 #023923 #070239 #390219
split-complementary
#343902 #021939 #230239
monochromatic
#1B1E01 #1B1E01 #343902 #6A7404 #A0AF06

Accessibility & contrast

On white

12.12
#343902 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#343902 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343902
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343902#FFFFFF#000000##FFFFFF
##3439021.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3500
Deuteranopia (green-blind)
#3E3606
Tritanopia (blue-blind)
#38352F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #343902;
/* rgb */ color: rgb(52, 57, 2);
/* oklch */ color: oklch(32.9% 0.073 115.2);
Tailwind
colors: {
  custom: {
    50: '#6e6f49',
    500: '#343902',
    950: '#000000',
  },
}
SCSS
$custom: #343902;
$custom-light: #6e6f49;
$custom-dark: #000000;
JSON
{
  "hex": "#343902",
  "rgb": {
    "r": 52,
    "g": 57,
    "b": 2
  },
  "hsl": {
    "h": 65.455,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.32865,
    "c": 0.07282,
    "h": 115.2
  },
  "luminance": 0.03661
}

Semantic roles & 50–950 ramp

primary
#343902
secondary
#231A7D
accent
#29FF3C
background
#F6F6F4
surface
#ECECE7
border
#C7C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #343902

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

Preview Lab → · Contrast checker → · Palette generator →

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