#344812#344812

#344812 is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.2% C 0.082 H 127.5°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#344812
RGBrgb(52, 72, 18)
HSLhsl(82, 60%, 18%)
HSVhsv(82, 75%, 28%)
CMYKcmyk(27.8%, 0%, 75%, 71.8%)
CIE-LABlab(27.87, -17.48, 28.63)
CIE-LCHlch(27.87, 33.54, 121.41°)
OKLaboklab(37.22% -0.0499 0.065)
OKLCHoklch(37.22% 0.082 127.5)
XYZxyz(3.8427, 5.4084, 1.4136)
Luminance0.0541 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#344812 #261248
analogous
#484112 #344812 #194812
triadic
#344812 #123448 #481234
tetradic
#344812 #124841 #261248 #481219
square
#344812 #124841 #261248 #481219
split-complementary
#344812 #121948 #411248
monochromatic
#121806 #121806 #344812 #57791E #7BAA2A

Accessibility & contrast

On white

10.09
#344812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#344812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #344812
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##344812#FFFFFF#000000##FFFFFF
##3448121.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C430A
Deuteranopia (green-blind)
#494116
Tritanopia (blue-blind)
#36443D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #344812;
/* rgb */ color: rgb(52, 72, 18);
/* oklch */ color: oklch(37.2% 0.082 127.5);
Tailwind
colors: {
  custom: {
    50: '#6d7b53',
    500: '#344812',
    950: '#000000',
  },
}
SCSS
$custom: #344812;
$custom-light: #6d7b53;
$custom-dark: #000000;
JSON
{
  "hex": "#344812",
  "rgb": {
    "r": 52,
    "g": 72,
    "b": 18
  },
  "hsl": {
    "h": 82.222,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37223,
    "c": 0.08189,
    "h": 127.5
  },
  "luminance": 0.05408
}

Semantic roles & 50–950 ramp

primary
#344812
secondary
#513581
accent
#45E37F
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #344812

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

Preview Lab → · Contrast checker → · Palette generator →

#344812 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva