#3A8514#3A8514

#3A8514 is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 54.8% C 0.160 H 138.0°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#3A8514
RGBrgb(58, 133, 20)
HSLhsl(100, 74%, 30%)
HSVhsv(100, 85%, 52%)
CMYKcmyk(56.4%, 0%, 85%, 47.8%)
CIE-LABlab(49.16, -42.80, 48.50)
CIE-LCHlch(49.16, 64.69, 131.43°)
OKLaboklab(54.76% -0.1185 0.1068)
OKLCHoklch(54.76% 0.16 138)
XYZxyz(10.2584, 17.7243, 3.5422)
Luminance0.1772 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8514 #5F1485
analogous
#728514 #3A8514 #148527
triadic
#3A8514 #143A85 #85143A
tetradic
#3A8514 #147285 #5F1485 #852714
square
#3A8514 #147285 #5F1485 #852714
split-complementary
#3A8514 #271485 #851472
monochromatic
#0C1B04 #23500C #3A8514 #51BA1C #6DE033

Accessibility & contrast

On white

4.62
#3A8514 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#3A8514 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3A8514
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8514#FFFFFF#000000##FFFFFF
##3A85141.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#807322
Tritanopia (blue-blind)
#348071
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3a8514;
/* rgb */ color: rgb(58, 133, 20);
/* oklch */ color: oklch(54.8% 0.160 138.0);
Tailwind
colors: {
  custom: {
    50: '#79a95d',
    500: '#3a8514',
    950: '#000000',
  },
}
SCSS
$custom: #3a8514;
$custom-light: #79a95d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8514",
  "rgb": {
    "r": 58,
    "g": 133,
    "b": 20
  },
  "hsl": {
    "h": 99.823,
    "s": 73.856,
    "l": 30
  },
  "oklch": {
    "l": 0.54759,
    "c": 0.15958,
    "h": 138
  },
  "luminance": 0.17725
}

Semantic roles & 50–950 ramp

primary
#3A8514
secondary
#8F3BBA
accent
#37F1B2
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3A8514

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

Preview Lab → · Contrast checker → · Palette generator →

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