#34510F#34510F

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

Color values

HEX#34510F
RGBrgb(52, 81, 15)
HSLhsl(86, 69%, 19%)
HSVhsv(86, 81%, 32%)
CMYKcmyk(35.8%, 0%, 81.5%, 68.2%)
CIE-LABlab(30.99, -22.42, 33.07)
CIE-LCHlch(30.99, 39.96, 124.14°)
OKLaboklab(39.76% -0.0636 0.0738)
OKLCHoklch(39.76% 0.097 130.8)
XYZxyz(4.4448, 6.6493, 1.5011)
Luminance0.0665 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34510F #2C0F51
analogous
#514D0F #34510F #13510F
triadic
#34510F #0F3451 #510F34
tetradic
#34510F #0F514D #2C0F51 #510F13
square
#34510F #0F514D #2C0F51 #510F13
split-complementary
#34510F #0F1351 #4D0F51
monochromatic
#111A05 #131D05 #34510F #558519 #76B822

Accessibility & contrast

On white

9.01
#34510F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34510F
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34510F#FFFFFF#000000##FFFFFF
##34510F1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #34510f;
/* rgb */ color: rgb(52, 81, 15);
/* oklch */ color: oklch(39.8% 0.097 130.8);
Tailwind
colors: {
  custom: {
    50: '#6f8253',
    500: '#34510f',
    950: '#000000',
  },
}
SCSS
$custom: #34510f;
$custom-light: #6f8253;
$custom-dark: #000000;
JSON
{
  "hex": "#34510f",
  "rgb": {
    "r": 52,
    "g": 81,
    "b": 15
  },
  "hsl": {
    "h": 86.364,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.39757,
    "c": 0.09742,
    "h": 130.8
  },
  "luminance": 0.06649
}

Semantic roles & 50–950 ramp

primary
#34510F
secondary
#58318B
accent
#3CEC89
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #34510F

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

Preview Lab → · Contrast checker → · Palette generator →

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