#3A7314#3A7314

#3A7314 is a mid, vivid yellow-green. Relative luminance 0.132; OKLCH L 49.8% C 0.137 H 136.2°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#3A7314
RGBrgb(58, 115, 20)
HSLhsl(96, 70%, 26%)
HSVhsv(96, 83%, 45%)
CMYKcmyk(49.6%, 0%, 82.6%, 54.9%)
CIE-LABlab(43.08, -35.51, 42.90)
CIE-LCHlch(43.08, 55.69, 129.62°)
OKLaboklab(49.75% -0.099 0.0951)
OKLCHoklch(49.75% 0.137 136.2)
XYZxyz(8.0017, 13.2110, 2.7900)
Luminance0.1321 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7314 #4D1473
analogous
#6A7314 #3A7314 #14731E
triadic
#3A7314 #143A73 #73143A
tetradic
#3A7314 #146A73 #4D1473 #731E14
square
#3A7314 #146A73 #4D1473 #731E14
split-complementary
#3A7314 #1E1473 #73146A
monochromatic
#0D1A05 #203F0B #3A7314 #54A71D #6FDA28

Accessibility & contrast

On white

5.77
#3A7314 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#3A7314 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7314
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7314#FFFFFF#000000##FFFFFF
##3A73141.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#70641F
Tritanopia (blue-blind)
#376E62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3a7314;
/* rgb */ color: rgb(58, 115, 20);
/* oklch */ color: oklch(49.8% 0.137 136.2);
Tailwind
colors: {
  custom: {
    50: '#769c5b',
    500: '#3a7314',
    950: '#000000',
  },
}
SCSS
$custom: #3a7314;
$custom-light: #769c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7314",
  "rgb": {
    "r": 58,
    "g": 115,
    "b": 20
  },
  "hsl": {
    "h": 96,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.4975,
    "c": 0.13725,
    "h": 136.2
  },
  "luminance": 0.13212
}

Semantic roles & 50–950 ramp

primary
#3A7314
secondary
#7D3AA9
accent
#3BEDA6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3A7314

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

Preview Lab → · Contrast checker → · Palette generator →

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