#4A7B16#4A7B16

#4A7B16 is a mid, vivid yellow-green. Relative luminance 0.157; OKLCH L 52.8% C 0.138 H 132.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#4A7B16
RGBrgb(74, 123, 22)
HSLhsl(89, 70%, 28%)
HSVhsv(89, 82%, 48%)
CMYKcmyk(39.8%, 0%, 82.1%, 51.8%)
CIE-LABlab(46.55, -33.17, 45.77)
CIE-LCHlch(46.55, 56.52, 125.93°)
OKLaboklab(52.81% -0.0936 0.1011)
OKLCHoklch(52.81% 0.138 132.8)
XYZxyz(10.0517, 15.6792, 3.2557)
Luminance0.1568 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7B16 #47167B
analogous
#7B7916 #4A7B16 #177B16
triadic
#4A7B16 #164A7B #7B164A
tetradic
#4A7B16 #167B79 #47167B #7B1617
square
#4A7B16 #167B79 #47167B #7B1617
split-complementary
#4A7B16 #16177B #79167B
monochromatic
#101A05 #2B470D #4A7B16 #69AF1F #88DA31

Accessibility & contrast

On white

5.08
#4A7B16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#4A7B16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7B16
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7B16#FFFFFF#000000##FFFFFF
##4A7B161.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#7A6D21
Tritanopia (blue-blind)
#4A7668
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4a7b16;
/* rgb */ color: rgb(74, 123, 22);
/* oklch */ color: oklch(52.8% 0.138 132.8);
Tailwind
colors: {
  custom: {
    50: '#81a15d',
    500: '#4a7b16',
    950: '#000000',
  },
}
SCSS
$custom: #4a7b16;
$custom-light: #81a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7b16",
  "rgb": {
    "r": 74,
    "g": 123,
    "b": 22
  },
  "hsl": {
    "h": 89.109,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52813,
    "c": 0.1378,
    "h": 132.8
  },
  "luminance": 0.1568
}

Semantic roles & 50–950 ramp

primary
#4A7B16
secondary
#753DB0
accent
#3BEC91
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #4A7B16

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

Preview Lab → · Contrast checker → · Palette generator →

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