#34651B#34651B

#34651B is a mid, moderate yellow-green. Relative luminance 0.101; OKLCH L 45.6% C 0.117 H 137.0°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#34651B
RGBrgb(52, 101, 27)
HSLhsl(100, 58%, 25%)
HSVhsv(100, 73%, 40%)
CMYKcmyk(48.5%, 0%, 73.3%, 60.4%)
CIE-LABlab(38.05, -30.97, 35.16)
CIE-LCHlch(38.05, 46.86, 131.37°)
OKLaboklab(45.56% -0.0858 0.0801)
OKLCHoklch(45.56% 0.117 137)
XYZxyz(6.2675, 10.1162, 2.6591)
Luminance0.1012 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34651B #4C1B65
analogous
#59651B #34651B #1B6527
triadic
#34651B #1B3465 #651B34
tetradic
#34651B #1B5965 #4C1B65 #65271B
square
#34651B #1B5965 #4C1B65 #65271B
split-complementary
#34651B #271B65 #651B59
monochromatic
#0C1806 #1B350E #34651B #4D9528 #66C635

Accessibility & contrast

On white

6.95
#34651B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#34651B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #34651B
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34651B#FFFFFF#000000##FFFFFF
##34651B1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C10
Deuteranopia (green-blind)
#625822
Tritanopia (blue-blind)
#316156
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #34651b;
/* rgb */ color: rgb(52, 101, 27);
/* oklch */ color: oklch(45.6% 0.117 137.0);
Tailwind
colors: {
  custom: {
    50: '#70915c',
    500: '#34651b',
    950: '#000000',
  },
}
SCSS
$custom: #34651b;
$custom-light: #70915c;
$custom-dark: #000000;
JSON
{
  "hex": "#34651b",
  "rgb": {
    "r": 52,
    "g": 101,
    "b": 27
  },
  "hsl": {
    "h": 99.73,
    "s": 57.813,
    "l": 25.098
  },
  "oklch": {
    "l": 0.45558,
    "c": 0.11737,
    "h": 137
  },
  "luminance": 0.10117
}

Semantic roles & 50–950 ramp

primary
#34651B
secondary
#7C419A
accent
#47E1AD
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080D04
muted
#7B7D79

Preview Lab

Preview with #34651B

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

Preview Lab → · Contrast checker → · Palette generator →

#34651B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva