#4F7D18#4F7D18

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

Color values

HEX#4F7D18
RGBrgb(79, 125, 24)
HSLhsl(87, 68%, 29%)
HSVhsv(87, 81%, 49%)
CMYKcmyk(36.8%, 0%, 80.8%, 51%)
CIE-LABlab(47.49, -32.06, 46.09)
CIE-LCHlch(47.49, 56.15, 124.82°)
OKLaboklab(53.66% -0.0909 0.102)
OKLCHoklch(53.66% 0.137 131.7)
XYZxyz(10.7228, 16.3950, 3.4636)
Luminance0.1640 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7D18 #46187D
analogous
#7D7918 #4F7D18 #1D7D18
triadic
#4F7D18 #184F7D #7D184F
tetradic
#4F7D18 #187D79 #46187D #7D181D
square
#4F7D18 #187D79 #46187D #7D181D
split-complementary
#4F7D18 #181D7D #79187D
monochromatic
#101A05 #2F4A0E #4F7D18 #6FB022 #8FD937

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F7D18#FFFFFF#000000##FFFFFF
##4F7D181.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)
#7C6F23
Tritanopia (blue-blind)
#50776A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4f7d18;
/* rgb */ color: rgb(79, 125, 24);
/* oklch */ color: oklch(53.7% 0.137 131.7);
Tailwind
colors: {
  custom: {
    50: '#85a35e',
    500: '#4f7d18',
    950: '#000000',
  },
}
SCSS
$custom: #4f7d18;
$custom-light: #85a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7d18",
  "rgb": {
    "r": 79,
    "g": 125,
    "b": 24
  },
  "hsl": {
    "h": 87.327,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53656,
    "c": 0.13658,
    "h": 131.7
  },
  "luminance": 0.16395
}

Semantic roles & 50–950 ramp

primary
#4F7D18
secondary
#733FB2
accent
#3DEB8C
background
#F8FAF5
surface
#F0F3E9
border
#CBCDC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4F7D18

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

Preview Lab → · Contrast checker → · Palette generator →

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