#34660F#34660F

#34660F is a mid, vivid yellow-green. Relative luminance 0.103; OKLCH L 45.8% C 0.126 H 135.6°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#34660F
RGBrgb(52, 102, 15)
HSLhsl(94, 74%, 23%)
HSVhsv(94, 85%, 40%)
CMYKcmyk(49%, 0%, 85.3%, 60%)
CIE-LABlab(38.32, -32.27, 39.98)
CIE-LCHlch(38.32, 51.38, 128.91°)
OKLaboklab(45.75% -0.0902 0.0883)
OKLCHoklch(45.75% 0.126 135.6)
XYZxyz(6.2536, 10.2669, 2.1040)
Luminance0.1027 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34660F #410F66
analogous
#5F660F #34660F #0F6616
triadic
#34660F #0F3466 #660F34
tetradic
#34660F #0F5F66 #410F66 #66160F
square
#34660F #0F5F66 #410F66 #66160F
split-complementary
#34660F #160F66 #660F5F
monochromatic
#0E1B04 #193107 #34660F #4F9B17 #6AD11F

Accessibility & contrast

On white

6.88
#34660F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#34660F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #34660F
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34660F#FFFFFF#000000##FFFFFF
##34660F1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#635919
Tritanopia (blue-blind)
#326256
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #34660f;
/* rgb */ color: rgb(52, 102, 15);
/* oklch */ color: oklch(45.8% 0.126 135.6);
Tailwind
colors: {
  custom: {
    50: '#719256',
    500: '#34660f',
    950: '#000000',
  },
}
SCSS
$custom: #34660f;
$custom-light: #719256;
$custom-dark: #000000;
JSON
{
  "hex": "#34660f",
  "rgb": {
    "r": 52,
    "g": 102,
    "b": 15
  },
  "hsl": {
    "h": 94.483,
    "s": 74.359,
    "l": 22.941
  },
  "oklch": {
    "l": 0.45752,
    "c": 0.12618,
    "h": 135.6
  },
  "luminance": 0.10267
}

Semantic roles & 50–950 ramp

primary
#34660F
secondary
#71329F
accent
#37F1A2
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #34660F

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

Preview Lab → · Contrast checker → · Palette generator →

#34660F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva