#4F7518#4F7518

#4F7518 is a mid, vivid yellow-green. Relative luminance 0.145; OKLCH L 51.5% C 0.126 H 129.8°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#4F7518
RGBrgb(79, 117, 24)
HSLhsl(85, 66%, 28%)
HSVhsv(85, 79%, 46%)
CMYKcmyk(32.5%, 0%, 79.5%, 54.1%)
CIE-LABlab(44.87, -28.32, 43.62)
CIE-LCHlch(44.87, 52.01, 122.99°)
OKLaboklab(51.52% -0.0807 0.0968)
OKLCHoklch(51.52% 0.126 129.8)
XYZxyz(9.7506, 14.4505, 3.1395)
Luminance0.1445 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7518 #3E1875
analogous
#756C18 #4F7518 #217518
triadic
#4F7518 #184F75 #75184F
tetradic
#4F7518 #18756C #3E1875 #751821
square
#4F7518 #18756C #3E1875 #751821
split-complementary
#4F7518 #182175 #6C1875
monochromatic
#111905 #2D420E #4F7518 #71A822 #93D532

Accessibility & contrast

On white

5.40
#4F7518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#4F7518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7518
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7518#FFFFFF#000000##FFFFFF
##4F75181.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C02
Deuteranopia (green-blind)
#766921
Tritanopia (blue-blind)
#517064
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4f7518;
/* rgb */ color: rgb(79, 117, 24);
/* oklch */ color: oklch(51.5% 0.126 129.8);
Tailwind
colors: {
  custom: {
    50: '#849d5d',
    500: '#4f7518',
    950: '#000000',
  },
}
SCSS
$custom: #4f7518;
$custom-light: #849d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7518",
  "rgb": {
    "r": 79,
    "g": 117,
    "b": 24
  },
  "hsl": {
    "h": 84.516,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51522,
    "c": 0.12605,
    "h": 129.8
  },
  "luminance": 0.14451
}

Semantic roles & 50–950 ramp

primary
#4F7518
secondary
#6B3FAA
accent
#3FE984
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4F7518

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

Preview Lab → · Contrast checker → · Palette generator →

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