#34510E#34510E

#34510E is a dark, moderate yellow-green. Relative luminance 0.066; OKLCH L 39.8% C 0.098 H 130.7°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#34510E
RGBrgb(52, 81, 14)
HSLhsl(86, 71%, 19%)
HSVhsv(86, 83%, 32%)
CMYKcmyk(35.8%, 0%, 82.7%, 68.2%)
CIE-LABlab(30.99, -22.49, 33.45)
CIE-LCHlch(30.99, 40.31, 123.92°)
OKLaboklab(39.75% -0.0639 0.0744)
OKLCHoklch(39.75% 0.098 130.7)
XYZxyz(4.4378, 6.6465, 1.4645)
Luminance0.0665 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34510E #2B0E51
analogous
#514C0E #34510E #12510E
triadic
#34510E #0E3451 #510E34
tetradic
#34510E #0E514C #2B0E51 #510E12
square
#34510E #0E514C #2B0E51 #510E12
split-complementary
#34510E #0E1251 #4C0E51
monochromatic
#111A05 #121D05 #34510E #558517 #77B920

Accessibility & contrast

On white

9.02
#34510E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#34510E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34510E
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34510E#FFFFFF#000000##FFFFFF
##34510E1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A02
Deuteranopia (green-blind)
#514815
Tritanopia (blue-blind)
#354D44
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #34510e;
/* rgb */ color: rgb(52, 81, 14);
/* oklch */ color: oklch(39.8% 0.098 130.7);
Tailwind
colors: {
  custom: {
    50: '#6f8252',
    500: '#34510e',
    950: '#000000',
  },
}
SCSS
$custom: #34510e;
$custom-light: #6f8252;
$custom-dark: #000000;
JSON
{
  "hex": "#34510e",
  "rgb": {
    "r": 52,
    "g": 81,
    "b": 14
  },
  "hsl": {
    "h": 85.97,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.3975,
    "c": 0.09806,
    "h": 130.7
  },
  "luminance": 0.06647
}

Semantic roles & 50–950 ramp

primary
#34510E
secondary
#572F8C
accent
#3AED88
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #34510E

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

Preview Lab → · Contrast checker → · Palette generator →

#34510E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva