#34510C#34510C

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

Color values

HEX#34510C
RGBrgb(52, 81, 12)
HSLhsl(85, 74%, 18%)
HSVhsv(85, 85%, 32%)
CMYKcmyk(35.8%, 0%, 85.2%, 68.2%)
CIE-LABlab(30.98, -22.61, 34.18)
CIE-LCHlch(30.98, 40.98, 123.49°)
OKLaboklab(39.74% -0.0644 0.0755)
OKLCHoklch(39.74% 0.099 130.4)
XYZxyz(4.4249, 6.6413, 1.3965)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34510C #290C51
analogous
#514B0C #34510C #11510C
triadic
#34510C #0C3451 #510C34
tetradic
#34510C #0C514B #290C51 #510C11
square
#34510C #0C514B #290C51 #510C11
split-complementary
#34510C #0C1151 #4B0C51
monochromatic
#111B04 #121C04 #34510C #568614 #78BC1C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##34510C#FFFFFF#000000##FFFFFF
##34510C1.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)
#554A00
Deuteranopia (green-blind)
#514813
Tritanopia (blue-blind)
#354D44
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #34510c;
/* rgb */ color: rgb(52, 81, 12);
/* oklch */ color: oklch(39.7% 0.099 130.4);
Tailwind
colors: {
  custom: {
    50: '#6f8251',
    500: '#34510c',
    950: '#000000',
  },
}
SCSS
$custom: #34510c;
$custom-light: #6f8251;
$custom-dark: #000000;
JSON
{
  "hex": "#34510c",
  "rgb": {
    "r": 52,
    "g": 81,
    "b": 12
  },
  "hsl": {
    "h": 85.217,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.39736,
    "c": 0.09926,
    "h": 130.4
  },
  "luminance": 0.06641
}

Semantic roles & 50–950 ramp

primary
#34510C
secondary
#552C8C
accent
#37F185
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #34510C

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

Preview Lab → · Contrast checker → · Palette generator →

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