#4A7214#4A7214

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

Color values

HEX#4A7214
RGBrgb(74, 114, 20)
HSLhsl(86, 70%, 26%)
HSVhsv(86, 82%, 45%)
CMYKcmyk(35.1%, 0%, 82.5%, 55.3%)
CIE-LABlab(43.57, -29.13, 43.65)
CIE-LCHlch(43.57, 52.48, 123.72°)
OKLaboklab(50.37% -0.0829 0.0963)
OKLCHoklch(50.37% 0.127 130.7)
XYZxyz(8.9676, 13.5407, 2.8028)
Luminance0.1354 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7214 #3C1472
analogous
#726B14 #4A7214 #1B7214
triadic
#4A7214 #144A72 #72144A
tetradic
#4A7214 #14726B #3C1472 #72141B
square
#4A7214 #14726B #3C1472 #72141B
split-complementary
#4A7214 #141B72 #6B1472
monochromatic
#111A05 #283E0B #4A7214 #6CA61D #8DD927

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A7214#FFFFFF#000000##FFFFFF
##4A72141.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)
#72661E
Tritanopia (blue-blind)
#4C6D61
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4a7214;
/* rgb */ color: rgb(74, 114, 20);
/* oklch */ color: oklch(50.4% 0.127 130.7);
Tailwind
colors: {
  custom: {
    50: '#819b5b',
    500: '#4a7214',
    950: '#000000',
  },
}
SCSS
$custom: #4a7214;
$custom-light: #819b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7214",
  "rgb": {
    "r": 74,
    "g": 114,
    "b": 20
  },
  "hsl": {
    "h": 85.532,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50372,
    "c": 0.12707,
    "h": 130.7
  },
  "luminance": 0.13541
}

Semantic roles & 50–950 ramp

primary
#4A7214
secondary
#6939A8
accent
#3BED87
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4A7214

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

Preview Lab → · Contrast checker → · Palette generator →

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