#344212#344212

#344212 is a dark, moderate yellow-green. Relative luminance 0.047; OKLCH L 35.5% C 0.073 H 124.0°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#344212
RGBrgb(52, 66, 18)
HSLhsl(78, 57%, 16%)
HSVhsv(78, 73%, 26%)
CMYKcmyk(21.2%, 0%, 72.7%, 74.1%)
CIE-LABlab(25.77, -14.13, 26.42)
CIE-LCHlch(25.77, 29.96, 118.14°)
OKLaboklab(35.53% -0.0406 0.0603)
OKLCHoklch(35.53% 0.073 124)
XYZxyz(3.4736, 4.6701, 1.2906)
Luminance0.0467 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#344212 #201242
analogous
#423812 #344212 #1C4212
triadic
#344212 #123442 #421234
tetradic
#344212 #124238 #201242 #42121C
square
#344212 #124238 #201242 #42121C
split-complementary
#344212 #121C42 #381242
monochromatic
#131807 #131807 #344212 #5A721F #80A22C

Accessibility & contrast

On white

10.86
#344212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#344212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #344212
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##344212#FFFFFF#000000##FFFFFF
##3442121.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D0C
Deuteranopia (green-blind)
#443D16
Tritanopia (blue-blind)
#373E38
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #344212;
/* rgb */ color: rgb(52, 66, 18);
/* oklch */ color: oklch(35.5% 0.073 124.0);
Tailwind
colors: {
  custom: {
    50: '#6d7652',
    500: '#344212',
    950: '#000000',
  },
}
SCSS
$custom: #344212;
$custom-light: #6d7652;
$custom-dark: #000000;
JSON
{
  "hex": "#344212",
  "rgb": {
    "r": 52,
    "g": 66,
    "b": 18
  },
  "hsl": {
    "h": 77.5,
    "s": 57.143,
    "l": 16.471
  },
  "oklch": {
    "l": 0.35528,
    "c": 0.07273,
    "h": 124
  },
  "luminance": 0.0467
}

Semantic roles & 50–950 ramp

primary
#344212
secondary
#49357B
accent
#47E074
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #344212

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

Preview Lab → · Contrast checker → · Palette generator →

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