#344F12#344F12

#344F12 is a dark, moderate yellow-green. Relative luminance 0.064; OKLCH L 39.2% C 0.092 H 130.5°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#344F12
RGBrgb(52, 79, 18)
HSLhsl(87, 63%, 19%)
HSVhsv(87, 77%, 31%)
CMYKcmyk(34.2%, 0%, 77.2%, 69%)
CIE-LABlab(30.32, -21.19, 31.15)
CIE-LCHlch(30.32, 37.67, 124.22°)
OKLaboklab(39.21% -0.06 0.0702)
OKLCHoklch(39.21% 0.092 130.5)
XYZxyz(4.3213, 6.3656, 1.5731)
Luminance0.0637 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#344F12 #2D124F
analogous
#4F4C12 #344F12 #164F12
triadic
#344F12 #12344F #4F1234
tetradic
#344F12 #124F4C #2D124F #4F1216
square
#344F12 #124F4C #2D124F #4F1216
split-complementary
#344F12 #12164F #4C124F
monochromatic
#101906 #131D07 #344F12 #55811D #76B329

Accessibility & contrast

On white

9.24
#344F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#344F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #344F12
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##344F12#FFFFFF#000000##FFFFFF
##344F121.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534908
Deuteranopia (green-blind)
#4F4717
Tritanopia (blue-blind)
#354B43
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #344f12;
/* rgb */ color: rgb(52, 79, 18);
/* oklch */ color: oklch(39.2% 0.092 130.5);
Tailwind
colors: {
  custom: {
    50: '#6e8054',
    500: '#344f12',
    950: '#000000',
  },
}
SCSS
$custom: #344f12;
$custom-light: #6e8054;
$custom-dark: #000000;
JSON
{
  "hex": "#344f12",
  "rgb": {
    "r": 52,
    "g": 79,
    "b": 18
  },
  "hsl": {
    "h": 86.557,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39212,
    "c": 0.09238,
    "h": 130.5
  },
  "luminance": 0.06366
}

Semantic roles & 50–950 ramp

primary
#344F12
secondary
#5A3588
accent
#42E68A
background
#F6F7F5
surface
#ECEEE8
border
#C7C9C4
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #344F12

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

Preview Lab → · Contrast checker → · Palette generator →

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