#343A08#343A08

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

Color values

HEX#343A08
RGBrgb(52, 58, 8)
HSLhsl(67, 76%, 13%)
HSVhsv(67, 86%, 23%)
CMYKcmyk(10.3%, 0%, 86.2%, 77.3%)
CIE-LABlab(22.91, -10.17, 28.03)
CIE-LCHlch(22.91, 29.82, 109.94°)
OKLaboklab(33.19% -0.0308 0.0621)
OKLCHoklch(33.19% 0.069 116.4)
XYZxyz(2.9731, 3.7738, 0.8015)
Luminance0.0377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343A08 #0E083A
analogous
#3A2708 #343A08 #1B3A08
triadic
#343A08 #08343A #3A0834
tetradic
#343A08 #083A27 #0E083A #3A081B
square
#343A08 #083A27 #0E083A #3A081B
split-complementary
#343A08 #081B3A #27083A
monochromatic
#181B04 #181B04 #343A08 #64700F #94A617

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##343A08#FFFFFF#000000##FFFFFF
##343A081.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)
#3F3601
Deuteranopia (green-blind)
#3E370C
Tritanopia (blue-blind)
#383631
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #343a08;
/* rgb */ color: rgb(52, 58, 8);
/* oklch */ color: oklch(33.2% 0.069 116.4);
Tailwind
colors: {
  custom: {
    50: '#6d704c',
    500: '#343a08',
    950: '#000000',
  },
}
SCSS
$custom: #343a08;
$custom-light: #6d704c;
$custom-dark: #000000;
JSON
{
  "hex": "#343a08",
  "rgb": {
    "r": 52,
    "g": 58,
    "b": 8
  },
  "hsl": {
    "h": 67.2,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.33194,
    "c": 0.06931,
    "h": 116.4
  },
  "luminance": 0.03774
}

Semantic roles & 50–950 ramp

primary
#343A08
secondary
#2F2579
accent
#35F24C
background
#F6F6F4
surface
#ECECE7
border
#C7C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #343A08

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

Preview Lab → · Contrast checker → · Palette generator →

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