#34710F#34710F

#34710F is a mid, vivid yellow-green. Relative luminance 0.126; OKLCH L 48.9% C 0.140 H 137.1°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#34710F
RGBrgb(52, 113, 15)
HSLhsl(97, 77%, 25%)
HSVhsv(97, 87%, 44%)
CMYKcmyk(54%, 0%, 86.7%, 55.7%)
CIE-LABlab(42.11, -36.92, 43.44)
CIE-LCHlch(42.11, 57.01, 130.36°)
OKLaboklab(48.88% -0.1026 0.0955)
OKLCHoklch(48.88% 0.14 137.1)
XYZxyz(7.4073, 12.5743, 2.4886)
Luminance0.1258 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34710F #4C0F71
analogous
#65710F #34710F #0F711B
triadic
#34710F #0F3471 #710F34
tetradic
#34710F #0F6571 #4C0F71 #711B0F
square
#34710F #0F6571 #4C0F71 #711B0F
split-complementary
#34710F #1B0F71 #710F65
monochromatic
#0C1B04 #1B3B08 #34710F #4DA716 #66DD1D

Accessibility & contrast

On white

5.97
#34710F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#34710F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #34710F
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34710F#FFFFFF#000000##FFFFFF
##34710F1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#6D621C
Tritanopia (blue-blind)
#306D60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #34710f;
/* rgb */ color: rgb(52, 113, 15);
/* oklch */ color: oklch(48.9% 0.140 137.1);
Tailwind
colors: {
  custom: {
    50: '#739a58',
    500: '#34710f',
    950: '#000000',
  },
}
SCSS
$custom: #34710f;
$custom-light: #739a58;
$custom-dark: #000000;
JSON
{
  "hex": "#34710f",
  "rgb": {
    "r": 52,
    "g": 113,
    "b": 15
  },
  "hsl": {
    "h": 97.347,
    "s": 76.563,
    "l": 25.098
  },
  "oklch": {
    "l": 0.48877,
    "c": 0.14022,
    "h": 137.1
  },
  "luminance": 0.12575
}

Semantic roles & 50–950 ramp

primary
#34710F
secondary
#7C33A9
accent
#35F3AB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #34710F

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

Preview Lab → · Contrast checker → · Palette generator →

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