#3A5214#3A5214

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

Color values

HEX#3A5214
RGBrgb(58, 82, 20)
HSLhsl(83, 61%, 20%)
HSVhsv(83, 76%, 32%)
CMYKcmyk(29.3%, 0%, 75.6%, 67.8%)
CIE-LABlab(31.77, -19.97, 31.87)
CIE-LCHlch(31.77, 37.61, 122.07°)
OKLaboklab(40.51% -0.0569 0.072)
OKLCHoklch(40.51% 0.092 128.3)
XYZxyz(4.8885, 6.9845, 1.7523)
Luminance0.0698 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5214 #2C1452
analogous
#524B14 #3A5214 #1B5214
triadic
#3A5214 #143A52 #52143A
tetradic
#3A5214 #14524B #2C1452 #52141B
square
#3A5214 #14524B #2C1452 #52141B
split-complementary
#3A5214 #141B52 #4B1452
monochromatic
#111906 #172108 #3A5214 #5D8320 #80B42C

Accessibility & contrast

On white

8.76
#3A5214 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#3A5214 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A5214
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5214#FFFFFF#000000##FFFFFF
##3A52141.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)
#564C0A
Deuteranopia (green-blind)
#534A19
Tritanopia (blue-blind)
#3C4E46
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3a5214;
/* rgb */ color: rgb(58, 82, 20);
/* oklch */ color: oklch(40.5% 0.092 128.3);
Tailwind
colors: {
  custom: {
    50: '#738256',
    500: '#3a5214',
    950: '#000000',
  },
}
SCSS
$custom: #3a5214;
$custom-light: #738256;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5214",
  "rgb": {
    "r": 58,
    "g": 82,
    "b": 20
  },
  "hsl": {
    "h": 83.226,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.40505,
    "c": 0.09176,
    "h": 128.3
  },
  "luminance": 0.06985
}

Semantic roles & 50–950 ramp

primary
#3A5214
secondary
#58388A
accent
#44E482
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3A5214

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

Preview Lab → · Contrast checker → · Palette generator →

#3A5214 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva