#4F7213#4F7213

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

Color values

HEX#4F7213
RGBrgb(79, 114, 19)
HSLhsl(82, 71%, 26%)
HSVhsv(82, 83%, 45%)
CMYKcmyk(30.7%, 0%, 83.3%, 55.3%)
CIE-LABlab(43.86, -27.14, 44.35)
CIE-LCHlch(43.86, 52.00, 121.47°)
OKLaboklab(50.69% -0.0779 0.0975)
OKLCHoklch(50.69% 0.125 128.6)
XYZxyz(9.3593, 13.7437, 2.7757)
Luminance0.1374 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7213 #361372
analogous
#726513 #4F7213 #1F7213
triadic
#4F7213 #134F72 #72134F
tetradic
#4F7213 #137265 #361372 #72131F
square
#4F7213 #137265 #361372 #72131F
split-complementary
#4F7213 #131F72 #651372
monochromatic
#121A04 #2B3E0A #4F7213 #73A61C #98DB25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F7213#FFFFFF#000000##FFFFFF
##4F72131.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)
#73671D
Tritanopia (blue-blind)
#526D61
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4f7213;
/* rgb */ color: rgb(79, 114, 19);
/* oklch */ color: oklch(50.7% 0.125 128.6);
Tailwind
colors: {
  custom: {
    50: '#849a5a',
    500: '#4f7213',
    950: '#000000',
  },
}
SCSS
$custom: #4f7213;
$custom-light: #849a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7213",
  "rgb": {
    "r": 79,
    "g": 114,
    "b": 19
  },
  "hsl": {
    "h": 82.105,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.50692,
    "c": 0.1248,
    "h": 128.6
  },
  "luminance": 0.13744
}

Semantic roles & 50–950 ramp

primary
#4F7213
secondary
#6238A9
accent
#3AEE7C
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4F7213

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

Preview Lab → · Contrast checker → · Palette generator →

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