#343F08#343F08

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

Color values

HEX#343F08
RGBrgb(52, 63, 8)
HSLhsl(72, 77%, 14%)
HSVhsv(72, 87%, 25%)
CMYKcmyk(17.5%, 0%, 87.3%, 75.3%)
CIE-LABlab(24.65, -13.12, 29.77)
CIE-LCHlch(24.65, 32.54, 113.79°)
OKLaboklab(34.59% -0.0389 0.0655)
OKLCHoklch(34.59% 0.076 120.7)
XYZxyz(3.2376, 4.3026, 0.8896)
Luminance0.0430 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343F08 #13083F
analogous
#3F2F08 #343F08 #193F08
triadic
#343F08 #08343F #3F0834
tetradic
#343F08 #083F2F #13083F #3F0819
square
#343F08 #083F2F #13083F #3F0819
split-complementary
#343F08 #08193F #2F083F
monochromatic
#161B03 #161B03 #343F08 #61750F #8EAC16

Accessibility & contrast

On white

11.29
#343F08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #343F08
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343F08#FFFFFF#000000##FFFFFF
##343F081.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B00
Deuteranopia (green-blind)
#423B0D
Tritanopia (blue-blind)
#373B35
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #343f08;
/* rgb */ color: rgb(52, 63, 8);
/* oklch */ color: oklch(34.6% 0.076 120.7);
Tailwind
colors: {
  custom: {
    50: '#6e744d',
    500: '#343f08',
    950: '#000000',
  },
}
SCSS
$custom: #343f08;
$custom-light: #6e744d;
$custom-dark: #000000;
JSON
{
  "hex": "#343f08",
  "rgb": {
    "r": 52,
    "g": 63,
    "b": 8
  },
  "hsl": {
    "h": 72,
    "s": 77.465,
    "l": 13.922
  },
  "oklch": {
    "l": 0.34594,
    "c": 0.07622,
    "h": 120.7
  },
  "luminance": 0.04303
}

Semantic roles & 50–950 ramp

primary
#343F08
secondary
#37257E
accent
#34F45A
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #343F08

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

Preview Lab → · Contrast checker → · Palette generator →

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