#343A07#343A07

#343A07 is a dark, moderate yellow. Relative luminance 0.038; OKLCH L 33.2% C 0.070 H 116.3°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#343A07
RGBrgb(52, 58, 7)
HSLhsl(67, 78%, 13%)
HSVhsv(67, 88%, 23%)
CMYKcmyk(10.3%, 0%, 87.9%, 77.3%)
CIE-LABlab(22.90, -10.23, 28.43)
CIE-LCHlch(22.90, 30.22, 109.79°)
OKLaboklab(33.19% -0.0311 0.0628)
OKLCHoklch(33.19% 0.07 116.3)
XYZxyz(2.9677, 3.7716, 0.7726)
Luminance0.0377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343A07 #0D073A
analogous
#3A2607 #343A07 #1A3A07
triadic
#343A07 #07343A #3A0734
tetradic
#343A07 #073A26 #0D073A #3A071A
square
#343A07 #073A26 #0D073A #3A071A
split-complementary
#343A07 #071A3A #26073A
monochromatic
#181B03 #181B03 #343A07 #65710E #96A714

Accessibility & contrast

On white

11.97
#343A07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #343A07
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343A07#FFFFFF#000000##FFFFFF
##343A071.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #343a07;
/* rgb */ color: rgb(52, 58, 7);
/* oklch */ color: oklch(33.2% 0.070 116.3);
Tailwind
colors: {
  custom: {
    50: '#6d704b',
    500: '#343a07',
    950: '#000000',
  },
}
SCSS
$custom: #343a07;
$custom-light: #6d704b;
$custom-dark: #000000;
JSON
{
  "hex": "#343a07",
  "rgb": {
    "r": 52,
    "g": 58,
    "b": 7
  },
  "hsl": {
    "h": 67.059,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.33186,
    "c": 0.07009,
    "h": 116.3
  },
  "luminance": 0.03772
}

Semantic roles & 50–950 ramp

primary
#343A07
secondary
#2D2379
accent
#33F54A
background
#F6F6F4
surface
#ECECE7
border
#C7C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #343A07

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

Preview Lab → · Contrast checker → · Palette generator →

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