#343F17#343F17

#343F17 is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.8% C 0.063 H 122.5°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#343F17
RGBrgb(52, 63, 23)
HSLhsl(77, 47%, 17%)
HSVhsv(77, 63%, 25%)
CMYKcmyk(17.5%, 0%, 63.5%, 75.3%)
CIE-LABlab(24.79, -11.90, 22.67)
CIE-LCHlch(24.79, 25.60, 117.69°)
OKLaboklab(34.75% -0.0338 0.053)
OKLCHoklch(34.75% 0.063 122.5)
XYZxyz(3.3484, 4.3469, 1.4731)
Luminance0.0435 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343F17 #22173F
analogous
#3F3617 #343F17 #203F17
triadic
#343F17 #17343F #3F1734
tetradic
#343F17 #173F36 #22173F #3F1720
square
#343F17 #173F36 #22173F #3F1720
split-complementary
#343F17 #17203F #36173F
monochromatic
#131608 #131608 #343F17 #596C27 #7E9938

Accessibility & contrast

On white

11.23
#343F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#343F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343F17
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343F17#FFFFFF#000000##FFFFFF
##343F171.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B13
Deuteranopia (green-blind)
#413B1A
Tritanopia (blue-blind)
#373C36
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #343f17;
/* rgb */ color: rgb(52, 63, 23);
/* oklch */ color: oklch(34.8% 0.063 122.5);
Tailwind
colors: {
  custom: {
    50: '#6d7455',
    500: '#343f17',
    950: '#000000',
  },
}
SCSS
$custom: #343f17;
$custom-light: #6d7455;
$custom-dark: #000000;
JSON
{
  "hex": "#343f17",
  "rgb": {
    "r": 52,
    "g": 63,
    "b": 23
  },
  "hsl": {
    "h": 76.5,
    "s": 46.512,
    "l": 16.863
  },
  "oklch": {
    "l": 0.34751,
    "c": 0.06292,
    "h": 122.5
  },
  "luminance": 0.04347
}

Semantic roles & 50–950 ramp

primary
#343F17
secondary
#4C3C76
accent
#52D676
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#070803
muted
#7A7B78

Preview Lab

Preview with #343F17

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

Preview Lab → · Contrast checker → · Palette generator →

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