#34531A#34531A

#34531A is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.4% C 0.092 H 133.3°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#34531A
RGBrgb(52, 83, 26)
HSLhsl(93, 52%, 21%)
HSVhsv(93, 69%, 33%)
CMYKcmyk(37.3%, 0%, 68.7%, 67.5%)
CIE-LABlab(31.79, -22.51, 28.93)
CIE-LCHlch(31.79, 36.66, 127.88°)
OKLaboklab(40.43% -0.0629 0.0668)
OKLCHoklch(40.43% 0.092 133.3)
XYZxyz(4.6958, 6.9910, 2.0791)
Luminance0.0699 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34531A #391A53
analogous
#51531A #34531A #1A531D
triadic
#34531A #1A3453 #531A34
tetradic
#34531A #1A5153 #391A53 #531D1A
square
#34531A #1A5153 #391A53 #531D1A
split-complementary
#34531A #1D1A53 #531A51
monochromatic
#0F1707 #17240B #34531A #518229 #6EB037

Accessibility & contrast

On white

8.76
#34531A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#34531A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34531A
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34531A#FFFFFF#000000##FFFFFF
##34531A1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C13
Deuteranopia (green-blind)
#524A1E
Tritanopia (blue-blind)
#345047
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #34531a;
/* rgb */ color: rgb(52, 83, 26);
/* oklch */ color: oklch(40.4% 0.092 133.3);
Tailwind
colors: {
  custom: {
    50: '#6e8359',
    500: '#34531a',
    950: '#000000',
  },
}
SCSS
$custom: #34531a;
$custom-light: #6e8359;
$custom-dark: #000000;
JSON
{
  "hex": "#34531a",
  "rgb": {
    "r": 52,
    "g": 83,
    "b": 26
  },
  "hsl": {
    "h": 92.632,
    "s": 52.294,
    "l": 21.373
  },
  "oklch": {
    "l": 0.40432,
    "c": 0.09173,
    "h": 133.3
  },
  "luminance": 0.06991
}

Semantic roles & 50–950 ramp

primary
#34531A
secondary
#684089
accent
#4CDC9A
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070A04
muted
#7A7C79

Preview Lab

Preview with #34531A

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

Preview Lab → · Contrast checker → · Palette generator →

#34531A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva