#4F7418#4F7418

#4F7418 is a mid, vivid yellow-green. Relative luminance 0.142; OKLCH L 51.3% C 0.125 H 129.6°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#4F7418
RGBrgb(79, 116, 24)
HSLhsl(84, 66%, 27%)
HSVhsv(84, 79%, 45%)
CMYKcmyk(31.9%, 0%, 79.3%, 54.5%)
CIE-LABlab(44.55, -27.84, 43.31)
CIE-LCHlch(44.55, 51.49, 122.73°)
OKLaboklab(51.26% -0.0794 0.0962)
OKLCHoklch(51.26% 0.125 129.6)
XYZxyz(9.6347, 14.2187, 3.1008)
Luminance0.1422 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7418 #3D1874
analogous
#746B18 #4F7418 #217418
triadic
#4F7418 #184F74 #74184F
tetradic
#4F7418 #18746B #3D1874 #741821
square
#4F7418 #18746B #3D1874 #741821
split-complementary
#4F7418 #182174 #6B1874
monochromatic
#111905 #2C410E #4F7418 #72A722 #93D532

Accessibility & contrast

On white

5.46
#4F7418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4F7418
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7418#FFFFFF#000000##FFFFFF
##4F74181.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B03
Deuteranopia (green-blind)
#756821
Tritanopia (blue-blind)
#516F63
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4f7418;
/* rgb */ color: rgb(79, 116, 24);
/* oklch */ color: oklch(51.3% 0.125 129.6);
Tailwind
colors: {
  custom: {
    50: '#849c5d',
    500: '#4f7418',
    950: '#000000',
  },
}
SCSS
$custom: #4f7418;
$custom-light: #849c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7418",
  "rgb": {
    "r": 79,
    "g": 116,
    "b": 24
  },
  "hsl": {
    "h": 84.13,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.51255,
    "c": 0.12472,
    "h": 129.6
  },
  "luminance": 0.14219
}

Semantic roles & 50–950 ramp

primary
#4F7418
secondary
#693FA9
accent
#3FE983
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4F7418

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

Preview Lab → · Contrast checker → · Palette generator →

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