#4A7216#4A7216

#4A7216 is a mid, vivid yellow-green. Relative luminance 0.135; OKLCH L 50.4% C 0.126 H 130.9°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#4A7216
RGBrgb(74, 114, 22)
HSLhsl(86, 68%, 27%)
HSVhsv(86, 81%, 45%)
CMYKcmyk(35.1%, 0%, 80.7%, 55.3%)
CIE-LABlab(43.58, -29.02, 42.99)
CIE-LCHlch(43.58, 51.87, 124.02°)
OKLaboklab(50.38% -0.0825 0.0953)
OKLCHoklch(50.38% 0.126 130.9)
XYZxyz(8.9861, 13.5481, 2.9005)
Luminance0.1355 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7216 #3E1672
analogous
#726C16 #4A7216 #1C7216
triadic
#4A7216 #164A72 #72164A
tetradic
#4A7216 #16726C #3E1672 #72161C
square
#4A7216 #16726C #3E1672 #72161C
split-complementary
#4A7216 #161C72 #6C1672
monochromatic
#111A05 #293F0C #4A7216 #6BA520 #8CD62C

Accessibility & contrast

On white

5.66
#4A7216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#4A7216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7216
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7216#FFFFFF#000000##FFFFFF
##4A72161.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#726620
Tritanopia (blue-blind)
#4C6D61
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4a7216;
/* rgb */ color: rgb(74, 114, 22);
/* oklch */ color: oklch(50.4% 0.126 130.9);
Tailwind
colors: {
  custom: {
    50: '#809b5c',
    500: '#4a7216',
    950: '#000000',
  },
}
SCSS
$custom: #4a7216;
$custom-light: #809b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7216",
  "rgb": {
    "r": 74,
    "g": 114,
    "b": 22
  },
  "hsl": {
    "h": 86.087,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.50384,
    "c": 0.12598,
    "h": 130.9
  },
  "luminance": 0.13548
}

Semantic roles & 50–950 ramp

primary
#4A7216
secondary
#6B3CA8
accent
#3DEB89
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4A7216

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

Preview Lab → · Contrast checker → · Palette generator →

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