#34560F#34560F

#34560F is a dark, moderate yellow-green. Relative luminance 0.074; OKLCH L 41.2% C 0.105 H 132.3°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#34560F
RGBrgb(52, 86, 15)
HSLhsl(89, 70%, 20%)
HSVhsv(89, 83%, 34%)
CMYKcmyk(39.5%, 0%, 82.6%, 66.3%)
CIE-LABlab(32.74, -24.90, 34.76)
CIE-LCHlch(32.74, 42.76, 125.62°)
OKLaboklab(41.19% -0.0703 0.0773)
OKLCHoklch(41.19% 0.105 132.3)
XYZxyz(4.8301, 7.4199, 1.6295)
Luminance0.0742 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34560F #310F56
analogous
#56540F #34560F #11560F
triadic
#34560F #0F3456 #560F34
tetradic
#34560F #0F5654 #310F56 #560F11
square
#34560F #0F5654 #310F56 #560F11
split-complementary
#34560F #0F1156 #540F56
monochromatic
#101A05 #142206 #34560F #548A18 #73BE21

Accessibility & contrast

On white

8.45
#34560F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#34560F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34560F
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34560F#FFFFFF#000000##FFFFFF
##34560F1.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F01
Deuteranopia (green-blind)
#554C16
Tritanopia (blue-blind)
#355249
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #34560f;
/* rgb */ color: rgb(52, 86, 15);
/* oklch */ color: oklch(41.2% 0.105 132.3);
Tailwind
colors: {
  custom: {
    50: '#6f8654',
    500: '#34560f',
    950: '#000000',
  },
}
SCSS
$custom: #34560f;
$custom-light: #6f8654;
$custom-dark: #000000;
JSON
{
  "hex": "#34560f",
  "rgb": {
    "r": 52,
    "g": 86,
    "b": 15
  },
  "hsl": {
    "h": 88.732,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.41185,
    "c": 0.10451,
    "h": 132.3
  },
  "luminance": 0.0742
}

Semantic roles & 50–950 ramp

primary
#34560F
secondary
#5E3190
accent
#3BED90
background
#F6F8F5
surface
#ECEFE8
border
#C7CAC4
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #34560F

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

Preview Lab → · Contrast checker → · Palette generator →

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