#4A7816#4A7816

#4A7816 is a mid, vivid yellow-green. Relative luminance 0.149; OKLCH L 52.0% C 0.134 H 132.2°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#4A7816
RGBrgb(74, 120, 22)
HSLhsl(88, 69%, 28%)
HSVhsv(88, 82%, 47%)
CMYKcmyk(38.3%, 0%, 81.7%, 52.9%)
CIE-LABlab(45.56, -31.81, 44.85)
CIE-LCHlch(45.56, 54.98, 125.34°)
OKLaboklab(52% -0.09 0.0992)
OKLCHoklch(52% 0.134 132.2)
XYZxyz(9.6852, 14.9463, 3.1335)
Luminance0.1495 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7816 #441678
analogous
#787516 #4A7816 #197816
triadic
#4A7816 #164A78 #78164A
tetradic
#4A7816 #167875 #441678 #781619
square
#4A7816 #167875 #441678 #781619
split-complementary
#4A7816 #161978 #751678
monochromatic
#101A05 #2A440D #4A7816 #6AAC1F #89D92F

Accessibility & contrast

On white

5.26
#4A7816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#4A7816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7816
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7816#FFFFFF#000000##FFFFFF
##4A78161.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#776B21
Tritanopia (blue-blind)
#4B7366
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4a7816;
/* rgb */ color: rgb(74, 120, 22);
/* oklch */ color: oklch(52.0% 0.134 132.2);
Tailwind
colors: {
  custom: {
    50: '#819f5c',
    500: '#4a7816',
    950: '#000000',
  },
}
SCSS
$custom: #4a7816;
$custom-light: #819f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7816",
  "rgb": {
    "r": 74,
    "g": 120,
    "b": 22
  },
  "hsl": {
    "h": 88.163,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.52003,
    "c": 0.13391,
    "h": 132.2
  },
  "luminance": 0.14947
}

Semantic roles & 50–950 ramp

primary
#4A7816
secondary
#713CAD
accent
#3CEC8F
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4A7816

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

Preview Lab → · Contrast checker → · Palette generator →

#4A7816 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva