#343F04#343F04

#343F04 is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.6% C 0.079 H 120.4°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#343F04
RGBrgb(52, 63, 4)
HSLhsl(71, 88%, 13%)
HSVhsv(71, 94%, 25%)
CMYKcmyk(17.5%, 0%, 93.7%, 75.3%)
CIE-LABlab(24.62, -13.37, 31.37)
CIE-LCHlch(24.62, 34.11, 113.08°)
OKLaboklab(34.56% -0.04 0.0682)
OKLCHoklch(34.56% 0.079 120.4)
XYZxyz(3.2157, 4.2939, 0.7742)
Luminance0.0429 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343F04 #0F043F
analogous
#3F2C04 #343F04 #163F04
triadic
#343F04 #04343F #3F0434
tetradic
#343F04 #043F2C #0F043F #3F0416
square
#343F04 #043F2C #0F043F #3F0416
split-complementary
#343F04 #04163F #2C043F
monochromatic
#181D02 #181D02 #343F04 #637908 #93B20B

Accessibility & contrast

On white

11.30
#343F04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#343F04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343F04
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343F04#FFFFFF#000000##FFFFFF
##343F041.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B00
Deuteranopia (green-blind)
#423B0A
Tritanopia (blue-blind)
#383B34
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #343f04;
/* rgb */ color: rgb(52, 63, 4);
/* oklch */ color: oklch(34.6% 0.079 120.4);
Tailwind
colors: {
  custom: {
    50: '#6e744b',
    500: '#343f04',
    950: '#000000',
  },
}
SCSS
$custom: #343f04;
$custom-light: #6e744b;
$custom-dark: #000000;
JSON
{
  "hex": "#343f04",
  "rgb": {
    "r": 52,
    "g": 63,
    "b": 4
  },
  "hsl": {
    "h": 71.186,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.34563,
    "c": 0.07911,
    "h": 120.4
  },
  "luminance": 0.04294
}

Semantic roles & 50–950 ramp

primary
#343F04
secondary
#311E80
accent
#2AFE51
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #343F04

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

Preview Lab → · Contrast checker → · Palette generator →

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