#343B02#343B02

#343B02 is a dark, moderate yellow. Relative luminance 0.039; OKLCH L 33.4% C 0.075 H 117.0°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#343B02
RGBrgb(52, 59, 2)
HSLhsl(67, 93%, 12%)
HSVhsv(67, 97%, 23%)
CMYKcmyk(11.9%, 0%, 96.6%, 76.9%)
CIE-LABlab(23.21, -11.15, 30.79)
CIE-LCHlch(23.21, 32.75, 109.91°)
OKLaboklab(33.42% -0.0342 0.0671)
OKLCHoklch(33.42% 0.075 117)
XYZxyz(2.9912, 3.8624, 0.6454)
Luminance0.0386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343B02 #09023B
analogous
#3B2602 #343B02 #183B02
triadic
#343B02 #02343B #3B0234
tetradic
#343B02 #023B26 #09023B #3B0218
square
#343B02 #023B26 #09023B #3B0218
split-complementary
#343B02 #02183B #26023B
monochromatic
#1A1E01 #1A1E01 #343B02 #687604 #9CB106

Accessibility & contrast

On white

11.85
#343B02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#343B02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343B02
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343B02#FFFFFF#000000##FFFFFF
##343B021.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403700
Deuteranopia (green-blind)
#3F3807
Tritanopia (blue-blind)
#383731
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #343b02;
/* rgb */ color: rgb(52, 59, 2);
/* oklch */ color: oklch(33.4% 0.075 117.0);
Tailwind
colors: {
  custom: {
    50: '#6e7049',
    500: '#343b02',
    950: '#000000',
  },
}
SCSS
$custom: #343b02;
$custom-light: #6e7049;
$custom-dark: #000000;
JSON
{
  "hex": "#343b02",
  "rgb": {
    "r": 52,
    "g": 59,
    "b": 2
  },
  "hsl": {
    "h": 67.368,
    "s": 93.443,
    "l": 11.961
  },
  "oklch": {
    "l": 0.33423,
    "c": 0.07537,
    "h": 117
  },
  "luminance": 0.03862
}

Semantic roles & 50–950 ramp

primary
#343B02
secondary
#271A7E
accent
#29FF43
background
#F6F6F4
surface
#ECECE7
border
#C7C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #343B02

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

Preview Lab → · Contrast checker → · Palette generator →

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