#34530F#34530F

#34530F is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.3% C 0.100 H 131.4°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#34530F
RGBrgb(52, 83, 15)
HSLhsl(87, 69%, 19%)
HSVhsv(87, 82%, 33%)
CMYKcmyk(37.3%, 0%, 81.9%, 67.5%)
CIE-LABlab(31.69, -23.43, 33.75)
CIE-LCHlch(31.69, 41.08, 124.77°)
OKLaboklab(40.33% -0.0664 0.0752)
OKLCHoklch(40.33% 0.1 131.4)
XYZxyz(4.5956, 6.9509, 1.5514)
Luminance0.0695 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34530F #2E0F53
analogous
#53500F #34530F #12530F
triadic
#34530F #0F3453 #530F34
tetradic
#34530F #0F5350 #2E0F53 #530F12
square
#34530F #0F5350 #2E0F53 #530F12
split-complementary
#34530F #0F1253 #500F53
monochromatic
#101A05 #141F06 #34530F #548718 #75BB22

Accessibility & contrast

On white

8.79
#34530F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#34530F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34530F
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34530F#FFFFFF#000000##FFFFFF
##34530F1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C02
Deuteranopia (green-blind)
#534A16
Tritanopia (blue-blind)
#354F46
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #34530f;
/* rgb */ color: rgb(52, 83, 15);
/* oklch */ color: oklch(40.3% 0.100 131.4);
Tailwind
colors: {
  custom: {
    50: '#6f8353',
    500: '#34530f',
    950: '#000000',
  },
}
SCSS
$custom: #34530f;
$custom-light: #6f8353;
$custom-dark: #000000;
JSON
{
  "hex": "#34530f",
  "rgb": {
    "r": 52,
    "g": 83,
    "b": 15
  },
  "hsl": {
    "h": 87.353,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.40328,
    "c": 0.10028,
    "h": 131.4
  },
  "luminance": 0.06951
}

Semantic roles & 50–950 ramp

primary
#34530F
secondary
#5B318D
accent
#3CEC8C
background
#F6F8F4
surface
#ECEFE7
border
#C7CAC3
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #34530F

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

Preview Lab → · Contrast checker → · Palette generator →

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