#4F6017#4F6017

#4F6017 is a mid, moderate yellow-green. Relative luminance 0.101; OKLCH L 46.0% C 0.098 H 121.9°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#4F6017
RGBrgb(79, 96, 23)
HSLhsl(74, 61%, 23%)
HSVhsv(74, 76%, 38%)
CMYKcmyk(17.7%, 0%, 76%, 62.4%)
CIE-LABlab(38.00, -17.72, 37.35)
CIE-LCHlch(38.00, 41.34, 115.39°)
OKLaboklab(45.95% -0.0519 0.0835)
OKLCHoklch(45.95% 0.098 121.9)
XYZxyz(7.5621, 10.0899, 2.3596)
Luminance0.1009 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6017 #281760
analogous
#604C17 #4F6017 #2A6017
triadic
#4F6017 #174F60 #60174F
tetradic
#4F6017 #17604C #281760 #60172A
square
#4F6017 #17604C #281760 #60172A
split-complementary
#4F6017 #172A60 #4C1760
monochromatic
#141906 #262F0B #4F6017 #789123 #A0C32F

Accessibility & contrast

On white

6.96
#4F6017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#4F6017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6017
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6017#FFFFFF#000000##FFFFFF
##4F60171.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A0A
Deuteranopia (green-blind)
#64591D
Tritanopia (blue-blind)
#545B52
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4f6017;
/* rgb */ color: rgb(79, 96, 23);
/* oklch */ color: oklch(46.0% 0.098 121.9);
Tailwind
colors: {
  custom: {
    50: '#838d5a',
    500: '#4f6017',
    950: '#000000',
  },
}
SCSS
$custom: #4f6017;
$custom-light: #838d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6017",
  "rgb": {
    "r": 79,
    "g": 96,
    "b": 23
  },
  "hsl": {
    "h": 73.973,
    "s": 61.345,
    "l": 23.333
  },
  "oklch": {
    "l": 0.4595,
    "c": 0.09827,
    "h": 121.9
  },
  "luminance": 0.1009
}

Semantic roles & 50–950 ramp

primary
#4F6017
secondary
#513C97
accent
#43E469
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4F6017

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

Preview Lab → · Contrast checker → · Palette generator →

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