#342F03#342F03

#342F03 is a dark, moderate yellow. Relative luminance 0.028; OKLCH L 30.1% C 0.060 H 102.7°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#342F03
RGBrgb(52, 47, 3)
HSLhsl(54, 89%, 11%)
HSVhsv(54, 94%, 20%)
CMYKcmyk(0%, 9.6%, 94.2%, 79.6%)
CIE-LABlab(19.10, -3.60, 25.89)
CIE-LCHlch(19.10, 26.14, 97.91°)
OKLaboklab(30.13% -0.0132 0.0589)
OKLCHoklch(30.13% 0.06 102.7)
XYZxyz(2.4492, 2.7698, 0.4917)
Luminance0.0277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342F03 #030834
analogous
#341603 #342F03 #203403
triadic
#342F03 #03342F #2F0334
tetradic
#342F03 #033416 #030834 #340320
square
#342F03 #033416 #030834 #340320
split-complementary
#342F03 #032034 #160334
monochromatic
#1D1A02 #1D1A02 #342F03 #6E6306 #A8980A

Accessibility & contrast

On white

13.51
#342F03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#342F03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342F03
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342F03#FFFFFF#000000##FFFFFF
##342F031.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D00
Deuteranopia (green-blind)
#362F06
Tritanopia (blue-blind)
#392B27
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #342f03;
/* rgb */ color: rgb(52, 47, 3);
/* oklch */ color: oklch(30.1% 0.060 102.7);
Tailwind
colors: {
  custom: {
    50: '#6d6748',
    500: '#342f03',
    950: '#000000',
  },
}
SCSS
$custom: #342f03;
$custom-light: #6d6748;
$custom-dark: #000000;
JSON
{
  "hex": "#342f03",
  "rgb": {
    "r": 52,
    "g": 47,
    "b": 3
  },
  "hsl": {
    "h": 53.878,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.30134,
    "c": 0.06036,
    "h": 102.7
  },
  "luminance": 0.0277
}

Semantic roles & 50–950 ramp

primary
#342F03
secondary
#1C2577
accent
#3FFF29
background
#F6F6F4
surface
#ECEBE6
border
#C7C6C2
text
#070601
muted
#7A7A77

Preview Lab

Preview with #342F03

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

Preview Lab → · Contrast checker → · Palette generator →

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