#343F12#343F12

#343F12 is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.7% C 0.068 H 121.7°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#343F12
RGBrgb(52, 63, 18)
HSLhsl(75, 56%, 16%)
HSVhsv(75, 71%, 25%)
CMYKcmyk(17.5%, 0%, 71.4%, 75.3%)
CIE-LABlab(24.73, -12.40, 25.30)
CIE-LCHlch(24.73, 28.18, 116.10°)
OKLaboklab(34.69% -0.0358 0.058)
OKLCHoklch(34.69% 0.068 121.7)
XYZxyz(3.3029, 4.3287, 1.2337)
Luminance0.0433 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343F12 #1D123F
analogous
#3F3312 #343F12 #1D3F12
triadic
#343F12 #12343F #3F1234
tetradic
#343F12 #123F33 #1D123F #3F121D
square
#343F12 #123F33 #1D123F #3F121D
split-complementary
#343F12 #121D3F #33123F
monochromatic
#141807 #141807 #343F12 #5B6F20 #839E2D

Accessibility & contrast

On white

11.26
#343F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #343F12
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343F12#FFFFFF#000000##FFFFFF
##343F121.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B0C
Deuteranopia (green-blind)
#423B15
Tritanopia (blue-blind)
#373C36
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #343f12;
/* rgb */ color: rgb(52, 63, 18);
/* oklch */ color: oklch(34.7% 0.068 121.7);
Tailwind
colors: {
  custom: {
    50: '#6d7452',
    500: '#343f12',
    950: '#000000',
  },
}
SCSS
$custom: #343f12;
$custom-light: #6d7452;
$custom-dark: #000000;
JSON
{
  "hex": "#343f12",
  "rgb": {
    "r": 52,
    "g": 63,
    "b": 18
  },
  "hsl": {
    "h": 74.667,
    "s": 55.556,
    "l": 15.882
  },
  "oklch": {
    "l": 0.34686,
    "c": 0.06814,
    "h": 121.7
  },
  "luminance": 0.04329
}

Semantic roles & 50–950 ramp

primary
#343F12
secondary
#453578
accent
#49DF6E
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #343F12

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

Preview Lab → · Contrast checker → · Palette generator →

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