#4A7F16#4A7F16

#4A7F16 is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 53.9% C 0.143 H 133.5°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#4A7F16
RGBrgb(74, 127, 22)
HSLhsl(90, 70%, 29%)
HSVhsv(90, 83%, 50%)
CMYKcmyk(41.7%, 0%, 82.7%, 50.2%)
CIE-LABlab(47.87, -34.95, 46.99)
CIE-LCHlch(47.87, 58.56, 126.64°)
OKLaboklab(53.89% -0.0984 0.1037)
OKLCHoklch(53.89% 0.143 133.5)
XYZxyz(10.5581, 16.6920, 3.4245)
Luminance0.1669 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7F16 #4B167F
analogous
#7F7F16 #4A7F16 #167F17
triadic
#4A7F16 #164A7F #7F164A
tetradic
#4A7F16 #167F7F #4B167F #7F1716
square
#4A7F16 #167F7F #4B167F #7F1716
split-complementary
#4A7F16 #17167F #7F167F
monochromatic
#0F1A05 #2C4B0D #4A7F16 #68B31F #87DC34

Accessibility & contrast

On white

4.84
#4A7F16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#4A7F16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7F16
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7F16#FFFFFF#000000##FFFFFF
##4A7F161.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7D7022
Tritanopia (blue-blind)
#4A7A6C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4a7f16;
/* rgb */ color: rgb(74, 127, 22);
/* oklch */ color: oklch(53.9% 0.143 133.5);
Tailwind
colors: {
  custom: {
    50: '#82a45e',
    500: '#4a7f16',
    950: '#000000',
  },
}
SCSS
$custom: #4a7f16;
$custom-light: #82a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7f16",
  "rgb": {
    "r": 74,
    "g": 127,
    "b": 22
  },
  "hsl": {
    "h": 90.286,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53893,
    "c": 0.14295,
    "h": 133.5
  },
  "luminance": 0.16693
}

Semantic roles & 50–950 ramp

primary
#4A7F16
secondary
#793DB4
accent
#3BED95
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4A7F16

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

Preview Lab → · Contrast checker → · Palette generator →

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