#343C08#343C08

#343C08 is a dark, moderate yellow. Relative luminance 0.040; OKLCH L 33.8% C 0.072 H 118.2°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#343C08
RGBrgb(52, 60, 8)
HSLhsl(69, 76%, 13%)
HSVhsv(69, 87%, 24%)
CMYKcmyk(13.3%, 0%, 86.7%, 76.5%)
CIE-LABlab(23.60, -11.37, 28.74)
CIE-LCHlch(23.60, 30.91, 111.58°)
OKLaboklab(33.75% -0.0341 0.0635)
OKLCHoklch(33.75% 0.072 118.2)
XYZxyz(3.0759, 3.9793, 0.8357)
Luminance0.0398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343C08 #10083C
analogous
#3C2A08 #343C08 #1A3C08
triadic
#343C08 #08343C #3C0834
tetradic
#343C08 #083C2A #10083C #3C081A
square
#343C08 #083C2A #10083C #3C081A
split-complementary
#343C08 #081A3C #2A083C
monochromatic
#171B04 #171B04 #343C08 #63720F #92A816

Accessibility & contrast

On white

11.69
#343C08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#343C08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343C08
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343C08#FFFFFF#000000##FFFFFF
##343C081.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413801
Deuteranopia (green-blind)
#40380D
Tritanopia (blue-blind)
#383832
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #343c08;
/* rgb */ color: rgb(52, 60, 8);
/* oklch */ color: oklch(33.8% 0.072 118.2);
Tailwind
colors: {
  custom: {
    50: '#6d714c',
    500: '#343c08',
    950: '#000000',
  },
}
SCSS
$custom: #343c08;
$custom-light: #6d714c;
$custom-dark: #000000;
JSON
{
  "hex": "#343c08",
  "rgb": {
    "r": 52,
    "g": 60,
    "b": 8
  },
  "hsl": {
    "h": 69.231,
    "s": 76.471,
    "l": 13.333
  },
  "oklch": {
    "l": 0.33752,
    "c": 0.07205,
    "h": 118.2
  },
  "luminance": 0.03979
}

Semantic roles & 50–950 ramp

primary
#343C08
secondary
#32257B
accent
#35F352
background
#F6F6F4
surface
#ECECE7
border
#C7C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #343C08

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

Preview Lab → · Contrast checker → · Palette generator →

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