#4F7D19#4F7D19

#4F7D19 is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.7% C 0.136 H 131.8°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#4F7D19
RGBrgb(79, 125, 25)
HSLhsl(88, 67%, 29%)
HSVhsv(88, 80%, 49%)
CMYKcmyk(36.8%, 0%, 80%, 51%)
CIE-LABlab(47.49, -32.00, 45.76)
CIE-LCHlch(47.49, 55.84, 124.97°)
OKLaboklab(53.66% -0.0906 0.1015)
OKLCHoklch(53.66% 0.136 131.8)
XYZxyz(10.7334, 16.3992, 3.5194)
Luminance0.1640 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7D19 #47197D
analogous
#7D7919 #4F7D19 #1D7D19
triadic
#4F7D19 #194F7D #7D194F
tetradic
#4F7D19 #197D79 #47197D #7D191D
square
#4F7D19 #197D79 #47197D #7D191D
split-complementary
#4F7D19 #191D7D #79197D
monochromatic
#101A05 #2F4A0F #4F7D19 #6FB023 #8FD739

Accessibility & contrast

On white

4.91
#4F7D19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#4F7D19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7D19
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7D19#FFFFFF#000000##FFFFFF
##4F7D191.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7C6F24
Tritanopia (blue-blind)
#50786A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4f7d19;
/* rgb */ color: rgb(79, 125, 25);
/* oklch */ color: oklch(53.7% 0.136 131.8);
Tailwind
colors: {
  custom: {
    50: '#85a35f',
    500: '#4f7d19',
    950: '#000000',
  },
}
SCSS
$custom: #4f7d19;
$custom-light: #85a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7d19",
  "rgb": {
    "r": 79,
    "g": 125,
    "b": 25
  },
  "hsl": {
    "h": 87.6,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53662,
    "c": 0.13605,
    "h": 131.8
  },
  "luminance": 0.164
}

Semantic roles & 50–950 ramp

primary
#4F7D19
secondary
#7440B1
accent
#3EEA8D
background
#F8FAF5
surface
#F0F3EA
border
#CBCDC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4F7D19

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

Preview Lab → · Contrast checker → · Palette generator →

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