#3A5714#3A5714

#3A5714 is a dark, moderate yellow-green. Relative luminance 0.078; OKLCH L 41.9% C 0.099 H 130.2°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#3A5714
RGBrgb(58, 87, 20)
HSLhsl(86, 63%, 21%)
HSVhsv(86, 77%, 34%)
CMYKcmyk(33.3%, 0%, 77%, 65.9%)
CIE-LABlab(33.49, -22.55, 33.61)
CIE-LCHlch(33.49, 40.48, 123.86°)
OKLaboklab(41.9% -0.064 0.0756)
OKLCHoklch(41.9% 0.099 130.2)
XYZxyz(5.2794, 7.7663, 1.8826)
Luminance0.0777 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5714 #311457
analogous
#575214 #3A5714 #185714
triadic
#3A5714 #143A57 #57143A
tetradic
#3A5714 #145752 #311457 #571418
square
#3A5714 #145752 #311457 #571418
split-complementary
#3A5714 #141857 #521457
monochromatic
#111906 #192509 #3A5714 #5B891F #7CBB2B

Accessibility & contrast

On white

8.22
#3A5714 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#3A5714 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A5714
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5714#FFFFFF#000000##FFFFFF
##3A57141.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5009
Deuteranopia (green-blind)
#574E1A
Tritanopia (blue-blind)
#3C534A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3a5714;
/* rgb */ color: rgb(58, 87, 20);
/* oklch */ color: oklch(41.9% 0.099 130.2);
Tailwind
colors: {
  custom: {
    50: '#738656',
    500: '#3a5714',
    950: '#000000',
  },
}
SCSS
$custom: #3a5714;
$custom-light: #738656;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5714",
  "rgb": {
    "r": 58,
    "g": 87,
    "b": 20
  },
  "hsl": {
    "h": 85.97,
    "s": 62.617,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41903,
    "c": 0.09905,
    "h": 130.2
  },
  "luminance": 0.07766
}

Semantic roles & 50–950 ramp

primary
#3A5714
secondary
#5E388F
accent
#42E689
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #3A5714

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

Preview Lab → · Contrast checker → · Palette generator →

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