#343A02#343A02

#343A02 is a dark, moderate yellow. Relative luminance 0.038; OKLCH L 33.1% C 0.074 H 116.1°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#343A02
RGBrgb(52, 58, 2)
HSLhsl(66, 93%, 12%)
HSVhsv(66, 97%, 23%)
CMYKcmyk(10.3%, 0%, 96.6%, 77.3%)
CIE-LABlab(22.86, -10.56, 30.43)
CIE-LCHlch(22.86, 32.21, 109.13°)
OKLaboklab(33.14% -0.0326 0.0665)
OKLCHoklch(33.14% 0.074 116.1)
XYZxyz(2.9403, 3.7606, 0.6284)
Luminance0.0376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343A02 #08023A
analogous
#3A2402 #343A02 #183A02
triadic
#343A02 #02343A #3A0234
tetradic
#343A02 #023A24 #08023A #3A0218
square
#343A02 #023A24 #08023A #3A0218
split-complementary
#343A02 #02183A #24023A
monochromatic
#1B1E01 #1B1E01 #343A02 #697504 #9EB006

Accessibility & contrast

On white

11.98
#343A02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#343A02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343A02
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343A02#FFFFFF#000000##FFFFFF
##343A021.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3600
Deuteranopia (green-blind)
#3E3707
Tritanopia (blue-blind)
#383630
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #343a02;
/* rgb */ color: rgb(52, 58, 2);
/* oklch */ color: oklch(33.1% 0.074 116.1);
Tailwind
colors: {
  custom: {
    50: '#6e7049',
    500: '#343a02',
    950: '#000000',
  },
}
SCSS
$custom: #343a02;
$custom-light: #6e7049;
$custom-dark: #000000;
JSON
{
  "hex": "#343a02",
  "rgb": {
    "r": 52,
    "g": 58,
    "b": 2
  },
  "hsl": {
    "h": 66.429,
    "s": 93.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.33143,
    "c": 0.07409,
    "h": 116.1
  },
  "luminance": 0.03761
}

Semantic roles & 50–950 ramp

primary
#343A02
secondary
#251A7D
accent
#29FF40
background
#F6F6F4
surface
#ECECE7
border
#C7C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #343A02

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

Preview Lab → · Contrast checker → · Palette generator →

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