#34671A#34671A

#34671A is a mid, vivid yellow-green. Relative luminance 0.105; OKLCH L 46.1% C 0.121 H 137.1°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#34671A
RGBrgb(52, 103, 26)
HSLhsl(100, 60%, 25%)
HSVhsv(100, 75%, 40%)
CMYKcmyk(49.5%, 0%, 74.8%, 59.6%)
CIE-LABlab(38.73, -31.95, 36.30)
CIE-LCHlch(38.73, 48.36, 131.35°)
OKLaboklab(46.12% -0.0885 0.0823)
OKLCHoklch(46.12% 0.121 137.1)
XYZxyz(6.4527, 10.5047, 2.6647)
Luminance0.1051 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34671A #4D1A67
analogous
#5A671A #34671A #1A6726
triadic
#34671A #1A3467 #671A34
tetradic
#34671A #1A5A67 #4D1A67 #67261A
square
#34671A #1A5A67 #4D1A67 #67261A
split-complementary
#34671A #261A67 #671A5A
monochromatic
#0C1806 #1B360E #34671A #4D9826 #65C933

Accessibility & contrast

On white

6.77
#34671A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#34671A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #34671A
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34671A#FFFFFF#000000##FFFFFF
##34671A1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E0E
Deuteranopia (green-blind)
#645A21
Tritanopia (blue-blind)
#316358
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #34671a;
/* rgb */ color: rgb(52, 103, 26);
/* oklch */ color: oklch(46.1% 0.121 137.1);
Tailwind
colors: {
  custom: {
    50: '#71935c',
    500: '#34671a',
    950: '#000000',
  },
}
SCSS
$custom: #34671a;
$custom-light: #71935c;
$custom-dark: #000000;
JSON
{
  "hex": "#34671a",
  "rgb": {
    "r": 52,
    "g": 103,
    "b": 26
  },
  "hsl": {
    "h": 99.74,
    "s": 59.69,
    "l": 25.294
  },
  "oklch": {
    "l": 0.46117,
    "c": 0.12089,
    "h": 137.1
  },
  "luminance": 0.10505
}

Semantic roles & 50–950 ramp

primary
#34671A
secondary
#7D409D
accent
#45E3AE
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #34671A

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

Preview Lab → · Contrast checker → · Palette generator →

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