#4F7717#4F7717

#4F7717 is a mid, vivid yellow-green. Relative luminance 0.149; OKLCH L 52.0% C 0.129 H 130.3°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#4F7717
RGBrgb(79, 119, 23)
HSLhsl(85, 68%, 28%)
HSVhsv(85, 81%, 47%)
CMYKcmyk(33.6%, 0%, 80.7%, 53.3%)
CIE-LABlab(45.52, -29.32, 44.58)
CIE-LCHlch(45.52, 53.36, 123.33°)
OKLaboklab(52.05% -0.0835 0.0986)
OKLCHoklch(52.05% 0.129 130.3)
XYZxyz(9.9759, 14.9174, 3.1642)
Luminance0.1492 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7717 #3F1777
analogous
#776F17 #4F7717 #1F7717
triadic
#4F7717 #174F77 #77174F
tetradic
#4F7717 #17776F #3F1777 #77171F
square
#4F7717 #17776F #3F1777 #77171F
split-complementary
#4F7717 #171F77 #6F1777
monochromatic
#111A05 #2D440D #4F7717 #71AA21 #92D731

Accessibility & contrast

On white

5.27
#4F7717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#4F7717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7717
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7717#FFFFFF#000000##FFFFFF
##4F77171.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#776B21
Tritanopia (blue-blind)
#517265
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4f7717;
/* rgb */ color: rgb(79, 119, 23);
/* oklch */ color: oklch(52.0% 0.129 130.3);
Tailwind
colors: {
  custom: {
    50: '#849e5d',
    500: '#4f7717',
    950: '#000000',
  },
}
SCSS
$custom: #4f7717;
$custom-light: #849e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7717",
  "rgb": {
    "r": 79,
    "g": 119,
    "b": 23
  },
  "hsl": {
    "h": 85,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.52049,
    "c": 0.12926,
    "h": 130.3
  },
  "luminance": 0.14918
}

Semantic roles & 50–950 ramp

primary
#4F7717
secondary
#6C3EAC
accent
#3DEA85
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4F7717

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

Preview Lab → · Contrast checker → · Palette generator →

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