#4F6B16#4F6B16

#4F6B16 is a mid, moderate yellow-green. Relative luminance 0.122; OKLCH L 48.8% C 0.114 H 126.6°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#4F6B16
RGBrgb(79, 107, 22)
HSLhsl(80, 66%, 25%)
HSVhsv(80, 79%, 42%)
CMYKcmyk(26.2%, 0%, 79.4%, 58%)
CIE-LABlab(41.59, -23.52, 41.21)
CIE-LCHlch(41.59, 47.45, 119.71°)
OKLaboklab(48.85% -0.0679 0.0914)
OKLCHoklch(48.85% 0.114 126.6)
XYZxyz(8.6270, 12.2354, 2.6661)
Luminance0.1224 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6B16 #32166B
analogous
#6B5C16 #4F6B16 #246B16
triadic
#4F6B16 #164F6B #6B164F
tetradic
#4F6B16 #166B5C #32166B #6B1624
square
#4F6B16 #166B5C #32166B #6B1624
split-complementary
#4F6B16 #16246B #5C166B
monochromatic
#131905 #2A380C #4F6B16 #749E20 #9AD12B

Accessibility & contrast

On white

6.09
#4F6B16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#4F6B16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6B16
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6B16#FFFFFF#000000##FFFFFF
##4F6B161.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716304
Deuteranopia (green-blind)
#6D621E
Tritanopia (blue-blind)
#53665B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4f6b16;
/* rgb */ color: rgb(79, 107, 22);
/* oklch */ color: oklch(48.8% 0.114 126.6);
Tailwind
colors: {
  custom: {
    50: '#83955b',
    500: '#4f6b16',
    950: '#000000',
  },
}
SCSS
$custom: #4f6b16;
$custom-light: #83955b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6b16",
  "rgb": {
    "r": 79,
    "g": 107,
    "b": 22
  },
  "hsl": {
    "h": 79.765,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48848,
    "c": 0.11383,
    "h": 126.6
  },
  "luminance": 0.12236
}

Semantic roles & 50–950 ramp

primary
#4F6B16
secondary
#5D3BA1
accent
#3FE977
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4F6B16

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

Preview Lab → · Contrast checker → · Palette generator →

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