#3A5B14#3A5B14

#3A5B14 is a dark, moderate yellow-green. Relative luminance 0.084; OKLCH L 43.0% C 0.105 H 131.5°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#3A5B14
RGBrgb(58, 91, 20)
HSLhsl(88, 64%, 22%)
HSVhsv(88, 78%, 36%)
CMYKcmyk(36.3%, 0%, 78%, 64.3%)
CIE-LABlab(34.87, -24.55, 34.99)
CIE-LCHlch(34.87, 42.74, 125.06°)
OKLaboklab(43.02% -0.0694 0.0785)
OKLCHoklch(43.02% 0.105 131.5)
XYZxyz(5.6122, 8.4320, 1.9935)
Luminance0.0843 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5B14 #35145B
analogous
#5B5914 #3A5B14 #175B14
triadic
#3A5B14 #143A5B #5B143A
tetradic
#3A5B14 #145B59 #35145B #5B1417
square
#3A5B14 #145B59 #35145B #5B1417
split-complementary
#3A5B14 #14175B #59145B
monochromatic
#101906 #1A2909 #3A5B14 #5A8D1F #7ABF2A

Accessibility & contrast

On white

7.82
#3A5B14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#3A5B14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A5B14
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5B14#FFFFFF#000000##FFFFFF
##3A5B141.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5407
Deuteranopia (green-blind)
#5B511B
Tritanopia (blue-blind)
#3B574D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3a5b14;
/* rgb */ color: rgb(58, 91, 20);
/* oklch */ color: oklch(43.0% 0.105 131.5);
Tailwind
colors: {
  custom: {
    50: '#738957',
    500: '#3a5b14',
    950: '#000000',
  },
}
SCSS
$custom: #3a5b14;
$custom-light: #738957;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5b14",
  "rgb": {
    "r": 58,
    "g": 91,
    "b": 20
  },
  "hsl": {
    "h": 87.887,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.43023,
    "c": 0.10479,
    "h": 131.5
  },
  "luminance": 0.08432
}

Semantic roles & 50–950 ramp

primary
#3A5B14
secondary
#623893
accent
#41E78E
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #3A5B14

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

Preview Lab → · Contrast checker → · Palette generator →

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