#3A5715#3A5715

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

Color values

HEX#3A5715
RGBrgb(58, 87, 21)
HSLhsl(86, 61%, 21%)
HSVhsv(86, 76%, 34%)
CMYKcmyk(33.3%, 0%, 75.9%, 65.9%)
CIE-LABlab(33.50, -22.48, 33.19)
CIE-LCHlch(33.50, 40.09, 124.10°)
OKLaboklab(41.91% -0.0637 0.0749)
OKLCHoklch(41.91% 0.098 130.4)
XYZxyz(5.2884, 7.7699, 1.9304)
Luminance0.0777 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5715 #321557
analogous
#575315 #3A5715 #195715
triadic
#3A5715 #153A57 #57153A
tetradic
#3A5715 #155753 #321557 #571519
square
#3A5715 #155753 #321557 #571519
split-complementary
#3A5715 #151957 #531557
monochromatic
#101906 #192609 #3A5715 #5B8821 #7CBA2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A5715#FFFFFF#000000##FFFFFF
##3A57151.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)
#5B500A
Deuteranopia (green-blind)
#574E1B
Tritanopia (blue-blind)
#3C534A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3a5715;
/* rgb */ color: rgb(58, 87, 21);
/* oklch */ color: oklch(41.9% 0.098 130.4);
Tailwind
colors: {
  custom: {
    50: '#738657',
    500: '#3a5715',
    950: '#000000',
  },
}
SCSS
$custom: #3a5715;
$custom-light: #738657;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5715",
  "rgb": {
    "r": 58,
    "g": 87,
    "b": 21
  },
  "hsl": {
    "h": 86.364,
    "s": 61.111,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41912,
    "c": 0.09831,
    "h": 130.4
  },
  "luminance": 0.0777
}

Semantic roles & 50–950 ramp

primary
#3A5715
secondary
#5F398F
accent
#44E48A
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #3A5715

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

Preview Lab → · Contrast checker → · Palette generator →

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