#4F7315#4F7315

#4F7315 is a mid, vivid yellow-green. Relative luminance 0.140; OKLCH L 51.0% C 0.125 H 129.1°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#4F7315
RGBrgb(79, 115, 21)
HSLhsl(83, 69%, 27%)
HSVhsv(83, 82%, 45%)
CMYKcmyk(31.3%, 0%, 81.7%, 54.9%)
CIE-LABlab(44.20, -27.52, 44.02)
CIE-LCHlch(44.20, 51.91, 122.02°)
OKLaboklab(50.97% -0.0788 0.0971)
OKLCHoklch(50.97% 0.125 129.1)
XYZxyz(9.4905, 13.9776, 2.9072)
Luminance0.1398 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7315 #391573
analogous
#736815 #4F7315 #207315
triadic
#4F7315 #154F73 #73154F
tetradic
#4F7315 #157368 #391573 #731520
square
#4F7315 #157368 #391573 #731520
split-complementary
#4F7315 #152073 #681573
monochromatic
#121A05 #2B3F0C #4F7315 #73A71E #96D82A

Accessibility & contrast

On white

5.53
#4F7315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#4F7315 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7315
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7315#FFFFFF#000000##FFFFFF
##4F73151.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#74681F
Tritanopia (blue-blind)
#526E62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4f7315;
/* rgb */ color: rgb(79, 115, 21);
/* oklch */ color: oklch(51.0% 0.125 129.1);
Tailwind
colors: {
  custom: {
    50: '#849b5b',
    500: '#4f7315',
    950: '#000000',
  },
}
SCSS
$custom: #4f7315;
$custom-light: #849b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7315",
  "rgb": {
    "r": 79,
    "g": 115,
    "b": 21
  },
  "hsl": {
    "h": 82.979,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.5097,
    "c": 0.12507,
    "h": 129.1
  },
  "luminance": 0.13978
}

Semantic roles & 50–950 ramp

primary
#4F7315
secondary
#653BA9
accent
#3CEC7F
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4F7315

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

Preview Lab → · Contrast checker → · Palette generator →

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