#342801#342801

#342801 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 28.3% C 0.057 H 90.9°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#342801
RGBrgb(52, 40, 1)
HSLhsl(46, 96%, 10%)
HSVhsv(46, 98%, 20%)
CMYKcmyk(0%, 23.1%, 98.1%, 79.6%)
CIE-LABlab(16.75, 0.92, 23.90)
CIE-LCHlch(16.75, 23.91, 87.80°)
OKLaboklab(28.27% -0.0009 0.0567)
OKLCHoklch(28.27% 0.057 90.9)
XYZxyz(2.1806, 2.2500, 0.3482)
Luminance0.0225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342801 #010D34
analogous
#340E01 #342801 #263401
triadic
#342801 #013428 #280134
tetradic
#342801 #01340E #010D34 #340126
square
#342801 #01340E #010D34 #340126
split-complementary
#342801 #012634 #0E0134
monochromatic
#1E1701 #1E1701 #342801 #705602 #AC8403

Accessibility & contrast

On white

14.48
#342801 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #342801
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342801#FFFFFF#000000##FFFFFF
##3428011.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #342801;
/* rgb */ color: rgb(52, 40, 1);
/* oklch */ color: oklch(28.3% 0.057 90.9);
Tailwind
colors: {
  custom: {
    50: '#6e6147',
    500: '#342801',
    950: '#000000',
  },
}
SCSS
$custom: #342801;
$custom-light: #6e6147;
$custom-dark: #000000;
JSON
{
  "hex": "#342801",
  "rgb": {
    "r": 52,
    "g": 40,
    "b": 1
  },
  "hsl": {
    "h": 45.882,
    "s": 96.226,
    "l": 10.392
  },
  "oklch": {
    "l": 0.28267,
    "c": 0.0567,
    "h": 90.9
  },
  "luminance": 0.0225
}

Semantic roles & 50–950 ramp

primary
#342801
secondary
#182F79
accent
#5BFF29
background
#F6F5F4
surface
#ECE9E6
border
#C7C5C2
text
#070500
muted
#7A7977

Preview Lab

Preview with #342801

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

Preview Lab → · Contrast checker → · Palette generator →

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