#4F6016#4F6016

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

Color values

HEX#4F6016
RGBrgb(79, 96, 22)
HSLhsl(74, 63%, 23%)
HSVhsv(74, 77%, 38%)
CMYKcmyk(17.7%, 0%, 77.1%, 62.4%)
CIE-LABlab(38.00, -17.79, 37.75)
CIE-LCHlch(38.00, 41.73, 115.23°)
OKLaboklab(45.94% -0.0522 0.0841)
OKLCHoklch(45.94% 0.099 121.8)
XYZxyz(7.5523, 10.0859, 2.3078)
Luminance0.1009 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6016 #271660
analogous
#604C16 #4F6016 #2A6016
triadic
#4F6016 #164F60 #60164F
tetradic
#4F6016 #16604C #271660 #60162A
square
#4F6016 #16604C #271660 #60162A
split-complementary
#4F6016 #162A60 #4C1660
monochromatic
#141906 #262E0B #4F6016 #789221 #A1C42D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F6016#FFFFFF#000000##FFFFFF
##4F60161.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)
#665A08
Deuteranopia (green-blind)
#64591C
Tritanopia (blue-blind)
#545B52
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4f6016;
/* rgb */ color: rgb(79, 96, 22);
/* oklch */ color: oklch(45.9% 0.099 121.8);
Tailwind
colors: {
  custom: {
    50: '#838d59',
    500: '#4f6016',
    950: '#000000',
  },
}
SCSS
$custom: #4f6016;
$custom-light: #838d59;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6016",
  "rgb": {
    "r": 79,
    "g": 96,
    "b": 22
  },
  "hsl": {
    "h": 73.784,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.45942,
    "c": 0.09897,
    "h": 121.8
  },
  "luminance": 0.10086
}

Semantic roles & 50–950 ramp

primary
#4F6016
secondary
#503B97
accent
#42E668
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4F6016

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

Preview Lab → · Contrast checker → · Palette generator →

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