#34530C#34530C

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

Color values

HEX#34530C
RGBrgb(52, 83, 12)
HSLhsl(86, 75%, 19%)
HSVhsv(86, 86%, 33%)
CMYKcmyk(37.3%, 0%, 85.5%, 67.5%)
CIE-LABlab(31.68, -23.61, 34.83)
CIE-LCHlch(31.68, 42.08, 124.13°)
OKLaboklab(40.31% -0.0671 0.0769)
OKLCHoklch(40.31% 0.102 131.1)
XYZxyz(4.5758, 6.9429, 1.4468)
Luminance0.0694 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34530C #2B0C53
analogous
#534E0C #34530C #10530C
triadic
#34530C #0C3453 #530C34
tetradic
#34530C #0C534E #2B0C53 #530C10
square
#34530C #0C534E #2B0C53 #530C10
split-complementary
#34530C #0C1053 #4E0C53
monochromatic
#111B04 #121E04 #34530C #558814 #77BE1B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##34530C#FFFFFF#000000##FFFFFF
##34530C1.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)
#574C00
Deuteranopia (green-blind)
#534A14
Tritanopia (blue-blind)
#354F46
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #34530c;
/* rgb */ color: rgb(52, 83, 12);
/* oklch */ color: oklch(40.3% 0.102 131.1);
Tailwind
colors: {
  custom: {
    50: '#6f8352',
    500: '#34530c',
    950: '#000000',
  },
}
SCSS
$custom: #34530c;
$custom-light: #6f8352;
$custom-dark: #000000;
JSON
{
  "hex": "#34530c",
  "rgb": {
    "r": 52,
    "g": 83,
    "b": 12
  },
  "hsl": {
    "h": 86.197,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.40308,
    "c": 0.10207,
    "h": 131.1
  },
  "luminance": 0.06943
}

Semantic roles & 50–950 ramp

primary
#34530C
secondary
#572D8E
accent
#36F188
background
#F6F8F4
surface
#ECEFE7
border
#C7CAC3
text
#080A02
muted
#7B7C78

Preview Lab

Preview with #34530C

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

Preview Lab → · Contrast checker → · Palette generator →

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