#4F7413#4F7413

#4F7413 is a mid, vivid yellow-green. Relative luminance 0.142; OKLCH L 51.2% C 0.127 H 129.2°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#4F7413
RGBrgb(79, 116, 19)
HSLhsl(83, 72%, 26%)
HSVhsv(83, 84%, 45%)
CMYKcmyk(31.9%, 0%, 83.6%, 54.5%)
CIE-LABlab(44.52, -28.10, 44.95)
CIE-LCHlch(44.52, 53.01, 122.02°)
OKLaboklab(51.23% -0.0805 0.0987)
OKLCHoklch(51.23% 0.127 129.2)
XYZxyz(9.5874, 14.1998, 2.8517)
Luminance0.1420 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7413 #381374
analogous
#746913 #4F7413 #1E7413
triadic
#4F7413 #134F74 #74134F
tetradic
#4F7413 #137469 #381374 #74131E
square
#4F7413 #137469 #381374 #74131E
split-complementary
#4F7413 #131E74 #691374
monochromatic
#121A04 #2B3F0A #4F7413 #73A91C #96DB26

Accessibility & contrast

On white

5.47
#4F7413 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#4F7413 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7413
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7413#FFFFFF#000000##FFFFFF
##4F74131.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#75681E
Tritanopia (blue-blind)
#526E62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4f7413;
/* rgb */ color: rgb(79, 116, 19);
/* oklch */ color: oklch(51.2% 0.127 129.2);
Tailwind
colors: {
  custom: {
    50: '#849c5b',
    500: '#4f7413',
    950: '#000000',
  },
}
SCSS
$custom: #4f7413;
$custom-light: #849c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7413",
  "rgb": {
    "r": 79,
    "g": 116,
    "b": 19
  },
  "hsl": {
    "h": 82.887,
    "s": 71.852,
    "l": 26.471
  },
  "oklch": {
    "l": 0.51225,
    "c": 0.12742,
    "h": 129.2
  },
  "luminance": 0.142
}

Semantic roles & 50–950 ramp

primary
#4F7413
secondary
#6438AA
accent
#39EF7E
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4F7413

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

Preview Lab → · Contrast checker → · Palette generator →

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