#342803#342803

#342803 is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.3% C 0.055 H 90.1°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#342803
RGBrgb(52, 40, 3)
HSLhsl(45, 89%, 11%)
HSVhsv(45, 94%, 20%)
CMYKcmyk(0%, 23.1%, 94.2%, 79.6%)
CIE-LABlab(16.77, 1.06, 23.11)
CIE-LCHlch(16.77, 23.13, 87.37°)
OKLaboklab(28.29% -0.0001 0.0546)
OKLCHoklch(28.29% 0.055 90.1)
XYZxyz(2.1915, 2.2544, 0.4058)
Luminance0.0225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342803 #030F34
analogous
#340F03 #342803 #273403
triadic
#342803 #033428 #280334
tetradic
#342803 #03340F #030F34 #340327
square
#342803 #03340F #030F34 #340327
split-complementary
#342803 #032734 #0F0334
monochromatic
#1D1602 #1D1602 #342803 #6E5506 #A8810A

Accessibility & contrast

On white

14.47
#342803 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#342803 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342803
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342803#FFFFFF#000000##FFFFFF
##3428031.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2700
Deuteranopia (green-blind)
#312B05
Tritanopia (blue-blind)
#392321
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #342803;
/* rgb */ color: rgb(52, 40, 3);
/* oklch */ color: oklch(28.3% 0.055 90.1);
Tailwind
colors: {
  custom: {
    50: '#6d6148',
    500: '#342803',
    950: '#000000',
  },
}
SCSS
$custom: #342803;
$custom-light: #6d6148;
$custom-dark: #000000;
JSON
{
  "hex": "#342803",
  "rgb": {
    "r": 52,
    "g": 40,
    "b": 3
  },
  "hsl": {
    "h": 45.306,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.28291,
    "c": 0.05459,
    "h": 90.1
  },
  "luminance": 0.02254
}

Semantic roles & 50–950 ramp

primary
#342803
secondary
#1C3277
accent
#5DFF29
background
#F6F5F4
surface
#ECE9E6
border
#C7C5C2
text
#070500
muted
#7A7977

Preview Lab

Preview with #342803

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

Preview Lab → · Contrast checker → · Palette generator →

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