#4F7515#4F7515

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

Color values

HEX#4F7515
RGBrgb(79, 117, 21)
HSLhsl(84, 70%, 27%)
HSVhsv(84, 82%, 46%)
CMYKcmyk(32.5%, 0%, 82.1%, 54.1%)
CIE-LABlab(44.86, -28.48, 44.62)
CIE-LCHlch(44.86, 52.94, 122.55°)
OKLaboklab(51.5% -0.0814 0.0984)
OKLCHoklch(51.5% 0.128 129.6)
XYZxyz(9.7211, 14.4387, 2.9841)
Luminance0.1444 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7515 #3B1575
analogous
#756B15 #4F7515 #1F7515
triadic
#4F7515 #154F75 #75154F
tetradic
#4F7515 #15756B #3B1575 #75151F
square
#4F7515 #15756B #3B1575 #75151F
split-complementary
#4F7515 #151F75 #6B1575
monochromatic
#121A05 #2C410C #4F7515 #72A91E #94D92B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F7515#FFFFFF#000000##FFFFFF
##4F75151.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)
#7B6C00
Deuteranopia (green-blind)
#76691F
Tritanopia (blue-blind)
#517063
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4f7515;
/* rgb */ color: rgb(79, 117, 21);
/* oklch */ color: oklch(51.5% 0.128 129.6);
Tailwind
colors: {
  custom: {
    50: '#849d5c',
    500: '#4f7515',
    950: '#000000',
  },
}
SCSS
$custom: #4f7515;
$custom-light: #849d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7515",
  "rgb": {
    "r": 79,
    "g": 117,
    "b": 21
  },
  "hsl": {
    "h": 83.75,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.51503,
    "c": 0.1277,
    "h": 129.6
  },
  "luminance": 0.14439
}

Semantic roles & 50–950 ramp

primary
#4F7515
secondary
#673BAB
accent
#3BEC81
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4F7515

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

Preview Lab → · Contrast checker → · Palette generator →

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