#3A7B16#3A7B16

#3A7B16 is a mid, vivid yellow-green. Relative luminance 0.151; OKLCH L 52.0% C 0.146 H 137.2°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#3A7B16
RGBrgb(58, 123, 22)
HSLhsl(99, 70%, 28%)
HSVhsv(99, 82%, 48%)
CMYKcmyk(52.8%, 0%, 82.1%, 51.8%)
CIE-LABlab(45.80, -38.72, 44.80)
CIE-LCHlch(45.80, 59.22, 130.84°)
OKLaboklab(51.99% -0.1075 0.0994)
OKLCHoklch(51.99% 0.146 137.2)
XYZxyz(8.9724, 15.1227, 3.2051)
Luminance0.1512 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7B16 #57167B
analogous
#6C7B16 #3A7B16 #167B24
triadic
#3A7B16 #163A7B #7B163A
tetradic
#3A7B16 #166C7B #57167B #7B2416
square
#3A7B16 #166C7B #57167B #7B2416
split-complementary
#3A7B16 #24167B #7B166C
monochromatic
#0C1A05 #22470D #3A7B16 #52AF1F #6DDA31

Accessibility & contrast

On white

5.22
#3A7B16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#3A7B16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7B16
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7B16#FFFFFF#000000##FFFFFF
##3A7B161.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#776A22
Tritanopia (blue-blind)
#367668
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3a7b16;
/* rgb */ color: rgb(58, 123, 22);
/* oklch */ color: oklch(52.0% 0.146 137.2);
Tailwind
colors: {
  custom: {
    50: '#78a25d',
    500: '#3a7b16',
    950: '#000000',
  },
}
SCSS
$custom: #3a7b16;
$custom-light: #78a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7b16",
  "rgb": {
    "r": 58,
    "g": 123,
    "b": 22
  },
  "hsl": {
    "h": 98.614,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51994,
    "c": 0.14638,
    "h": 137.2
  },
  "luminance": 0.15123
}

Semantic roles & 50–950 ramp

primary
#3A7B16
secondary
#873DB0
accent
#3BECAD
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #3A7B16

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

Preview Lab → · Contrast checker → · Palette generator →

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