#3A6514#3A6514

#3A6514 is a mid, moderate yellow-green. Relative luminance 0.103; OKLCH L 45.8% C 0.119 H 133.9°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#3A6514
RGBrgb(58, 101, 20)
HSLhsl(92, 67%, 24%)
HSVhsv(92, 80%, 40%)
CMYKcmyk(42.6%, 0%, 80.2%, 60.4%)
CIE-LABlab(38.30, -29.32, 38.35)
CIE-LCHlch(38.30, 48.28, 127.40°)
OKLaboklab(45.83% -0.0823 0.0855)
OKLCHoklch(45.83% 0.119 133.9)
XYZxyz(6.5248, 10.2571, 2.2977)
Luminance0.1026 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6514 #3F1465
analogous
#626514 #3A6514 #146516
triadic
#3A6514 #143A65 #65143A
tetradic
#3A6514 #146265 #3F1465 #651614
square
#3A6514 #146265 #3F1465 #651614
split-complementary
#3A6514 #161465 #651462
monochromatic
#0F1A05 #1D320A #3A6514 #57981E #75CB28

Accessibility & contrast

On white

6.88
#3A6514 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#3A6514 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6514
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6514#FFFFFF#000000##FFFFFF
##3A65141.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C03
Deuteranopia (green-blind)
#63591C
Tritanopia (blue-blind)
#3A6156
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3a6514;
/* rgb */ color: rgb(58, 101, 20);
/* oklch */ color: oklch(45.8% 0.119 133.9);
Tailwind
colors: {
  custom: {
    50: '#759158',
    500: '#3a6514',
    950: '#000000',
  },
}
SCSS
$custom: #3a6514;
$custom-light: #759158;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6514",
  "rgb": {
    "r": 58,
    "g": 101,
    "b": 20
  },
  "hsl": {
    "h": 91.852,
    "s": 66.942,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45829,
    "c": 0.11872,
    "h": 133.9
  },
  "luminance": 0.10257
}

Semantic roles & 50–950 ramp

primary
#3A6514
secondary
#6D399C
accent
#3EEA99
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090D04
muted
#7B7D79

Preview Lab

Preview with #3A6514

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

Preview Lab → · Contrast checker → · Palette generator →

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