#3A5814#3A5814

#3A5814 is a dark, moderate yellow-green. Relative luminance 0.079; OKLCH L 42.2% C 0.101 H 130.6°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#3A5814
RGBrgb(58, 88, 20)
HSLhsl(86, 63%, 21%)
HSVhsv(86, 77%, 35%)
CMYKcmyk(34.1%, 0%, 77.3%, 65.5%)
CIE-LABlab(33.84, -23.06, 33.96)
CIE-LCHlch(33.84, 41.05, 124.17°)
OKLaboklab(42.18% -0.0653 0.0764)
OKLCHoklch(42.18% 0.101 130.6)
XYZxyz(5.3609, 7.9293, 1.9097)
Luminance0.0793 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5814 #321458
analogous
#585414 #3A5814 #185814
triadic
#3A5814 #143A58 #58143A
tetradic
#3A5814 #145854 #321458 #581418
square
#3A5814 #145854 #321458 #581418
split-complementary
#3A5814 #141858 #541458
monochromatic
#101906 #192609 #3A5814 #5B8A1F #7CBC2B

Accessibility & contrast

On white

8.12
#3A5814 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3A5814 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A5814
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5814#FFFFFF#000000##FFFFFF
##3A58141.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5108
Deuteranopia (green-blind)
#584F1A
Tritanopia (blue-blind)
#3B544B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3a5814;
/* rgb */ color: rgb(58, 88, 20);
/* oklch */ color: oklch(42.2% 0.101 130.6);
Tailwind
colors: {
  custom: {
    50: '#738757',
    500: '#3a5814',
    950: '#000000',
  },
}
SCSS
$custom: #3a5814;
$custom-light: #738757;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5814",
  "rgb": {
    "r": 58,
    "g": 88,
    "b": 20
  },
  "hsl": {
    "h": 86.471,
    "s": 62.963,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42183,
    "c": 0.1005,
    "h": 130.6
  },
  "luminance": 0.07929
}

Semantic roles & 50–950 ramp

primary
#3A5814
secondary
#5F3890
accent
#42E68A
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #3A5814

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

Preview Lab → · Contrast checker → · Palette generator →

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