#34661A#34661A

#34661A is a mid, moderate yellow-green. Relative luminance 0.103; OKLCH L 45.8% C 0.119 H 137.0°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#34661A
RGBrgb(52, 102, 26)
HSLhsl(99, 59%, 25%)
HSVhsv(99, 75%, 40%)
CMYKcmyk(49%, 0%, 74.5%, 60%)
CIE-LABlab(38.39, -31.51, 35.95)
CIE-LCHlch(38.39, 47.80, 131.23°)
OKLaboklab(45.83% -0.0873 0.0816)
OKLCHoklch(45.83% 0.12 137)
XYZxyz(6.3538, 10.3070, 2.6317)
Luminance0.1031 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34661A #4C1A66
analogous
#5A661A #34661A #1A6626
triadic
#34661A #1A3466 #661A34
tetradic
#34661A #1A5A66 #4C1A66 #66261A
square
#34661A #1A5A66 #4C1A66 #66261A
split-complementary
#34661A #261A66 #661A5A
monochromatic
#0C1806 #1B350E #34661A #4D9726 #66C833

Accessibility & contrast

On white

6.86
#34661A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#34661A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #34661A
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34661A#FFFFFF#000000##FFFFFF
##34661A1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D0E
Deuteranopia (green-blind)
#635921
Tritanopia (blue-blind)
#316257
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #34661a;
/* rgb */ color: rgb(52, 102, 26);
/* oklch */ color: oklch(45.8% 0.119 137.0);
Tailwind
colors: {
  custom: {
    50: '#71925c',
    500: '#34661a',
    950: '#000000',
  },
}
SCSS
$custom: #34661a;
$custom-light: #71925c;
$custom-dark: #000000;
JSON
{
  "hex": "#34661a",
  "rgb": {
    "r": 52,
    "g": 102,
    "b": 26
  },
  "hsl": {
    "h": 99.474,
    "s": 59.375,
    "l": 25.098
  },
  "oklch": {
    "l": 0.45833,
    "c": 0.1195,
    "h": 137
  },
  "luminance": 0.10307
}

Semantic roles & 50–950 ramp

primary
#34661A
secondary
#7C409C
accent
#45E3AD
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #34661A

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

Preview Lab → · Contrast checker → · Palette generator →

#34661A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva