#4F7618#4F7618

#4F7618 is a mid, vivid yellow-green. Relative luminance 0.147; OKLCH L 51.8% C 0.127 H 130.1°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#4F7618
RGBrgb(79, 118, 24)
HSLhsl(85, 66%, 28%)
HSVhsv(85, 80%, 46%)
CMYKcmyk(33.1%, 0%, 79.7%, 53.7%)
CIE-LABlab(45.20, -28.79, 43.93)
CIE-LCHlch(45.20, 52.53, 123.24°)
OKLaboklab(51.79% -0.082 0.0975)
OKLCHoklch(51.79% 0.127 130.1)
XYZxyz(9.8677, 14.6848, 3.1785)
Luminance0.1469 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7618 #3F1876
analogous
#766E18 #4F7618 #207618
triadic
#4F7618 #184F76 #76184F
tetradic
#4F7618 #18766E #3F1876 #761820
square
#4F7618 #18766E #3F1876 #761820
split-complementary
#4F7618 #182076 #6E1876
monochromatic
#111905 #2D430E #4F7618 #71A922 #92D533

Accessibility & contrast

On white

5.33
#4F7618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#4F7618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7618
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7618#FFFFFF#000000##FFFFFF
##4F76181.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D02
Deuteranopia (green-blind)
#766A22
Tritanopia (blue-blind)
#517164
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4f7618;
/* rgb */ color: rgb(79, 118, 24);
/* oklch */ color: oklch(51.8% 0.127 130.1);
Tailwind
colors: {
  custom: {
    50: '#849d5d',
    500: '#4f7618',
    950: '#000000',
  },
}
SCSS
$custom: #4f7618;
$custom-light: #849d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7618",
  "rgb": {
    "r": 79,
    "g": 118,
    "b": 24
  },
  "hsl": {
    "h": 84.894,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51788,
    "c": 0.12738,
    "h": 130.1
  },
  "luminance": 0.14685
}

Semantic roles & 50–950 ramp

primary
#4F7618
secondary
#6C3FAB
accent
#3FE985
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4F7618

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

Preview Lab → · Contrast checker → · Palette generator →

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