#342C03#342C03

#342C03 is a dark, muted yellow. Relative luminance 0.025; OKLCH L 29.3% C 0.058 H 97.7°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#342C03
RGBrgb(52, 44, 3)
HSLhsl(50, 89%, 11%)
HSVhsv(50, 94%, 20%)
CMYKcmyk(0%, 15.4%, 94.2%, 79.6%)
CIE-LABlab(18.09, -1.62, 24.71)
CIE-LCHlch(18.09, 24.76, 93.75°)
OKLaboklab(29.34% -0.0077 0.057)
OKLCHoklch(29.34% 0.058 97.7)
XYZxyz(2.3334, 2.5381, 0.4531)
Luminance0.0254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342C03 #030B34
analogous
#341303 #342C03 #233403
triadic
#342C03 #03342C #2C0334
tetradic
#342C03 #033413 #030B34 #340323
square
#342C03 #033413 #030B34 #340323
split-complementary
#342C03 #032334 #130334
monochromatic
#1D1802 #1D1802 #342C03 #6E5D06 #A88E0A

Accessibility & contrast

On white

13.93
#342C03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#342C03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342C03
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342C03#FFFFFF#000000##FFFFFF
##342C031.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B00
Deuteranopia (green-blind)
#342D05
Tritanopia (blue-blind)
#392824
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #342c03;
/* rgb */ color: rgb(52, 44, 3);
/* oklch */ color: oklch(29.3% 0.058 97.7);
Tailwind
colors: {
  custom: {
    50: '#6d6448',
    500: '#342c03',
    950: '#000000',
  },
}
SCSS
$custom: #342c03;
$custom-light: #6d6448;
$custom-dark: #000000;
JSON
{
  "hex": "#342c03",
  "rgb": {
    "r": 52,
    "g": 44,
    "b": 3
  },
  "hsl": {
    "h": 50.204,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.29335,
    "c": 0.05755,
    "h": 97.7
  },
  "luminance": 0.02538
}

Semantic roles & 50–950 ramp

primary
#342C03
secondary
#1C2B77
accent
#4CFF29
background
#F6F6F4
surface
#ECEBE6
border
#C7C6C2
text
#070500
muted
#7A7A77

Preview Lab

Preview with #342C03

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

Preview Lab → · Contrast checker → · Palette generator →

#342C03 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva