#4F7214#4F7214

#4F7214 is a mid, vivid yellow-green. Relative luminance 0.137; OKLCH L 50.7% C 0.124 H 128.7°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#4F7214
RGBrgb(79, 114, 20)
HSLhsl(82, 70%, 26%)
HSVhsv(82, 82%, 45%)
CMYKcmyk(30.7%, 0%, 82.5%, 55.3%)
CIE-LABlab(43.87, -27.09, 44.04)
CIE-LCHlch(43.87, 51.70, 121.60°)
OKLaboklab(50.7% -0.0777 0.097)
OKLCHoklch(50.7% 0.124 128.7)
XYZxyz(9.3680, 13.7471, 2.8216)
Luminance0.1375 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7214 #371472
analogous
#726614 #4F7214 #207214
triadic
#4F7214 #144F72 #72144F
tetradic
#4F7214 #147266 #371472 #721420
square
#4F7214 #147266 #371472 #721420
split-complementary
#4F7214 #142072 #661472
monochromatic
#121A05 #2B3E0B #4F7214 #73A61D #97D927

Accessibility & contrast

On white

5.60
#4F7214 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#4F7214 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7214
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7214#FFFFFF#000000##FFFFFF
##4F72141.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#73671E
Tritanopia (blue-blind)
#526D61
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4f7214;
/* rgb */ color: rgb(79, 114, 20);
/* oklch */ color: oklch(50.7% 0.124 128.7);
Tailwind
colors: {
  custom: {
    50: '#849a5b',
    500: '#4f7214',
    950: '#000000',
  },
}
SCSS
$custom: #4f7214;
$custom-light: #849a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7214",
  "rgb": {
    "r": 79,
    "g": 114,
    "b": 20
  },
  "hsl": {
    "h": 82.34,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50697,
    "c": 0.12429,
    "h": 128.7
  },
  "luminance": 0.13747
}

Semantic roles & 50–950 ramp

primary
#4F7214
secondary
#6339A8
accent
#3BED7D
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4F7214

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

Preview Lab → · Contrast checker → · Palette generator →

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