#4F6216#4F6216

#4F6216 is a mid, moderate yellow-green. Relative luminance 0.105; OKLCH L 46.5% C 0.102 H 122.8°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#4F6216
RGBrgb(79, 98, 22)
HSLhsl(75, 63%, 24%)
HSVhsv(75, 78%, 38%)
CMYKcmyk(19.4%, 0%, 77.6%, 61.6%)
CIE-LABlab(38.65, -18.86, 38.38)
CIE-LCHlch(38.65, 42.77, 116.16°)
OKLaboklab(46.47% -0.0551 0.0855)
OKLCHoklch(46.47% 0.102 122.8)
XYZxyz(7.7370, 10.4555, 2.3694)
Luminance0.1046 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6216 #291662
analogous
#624F16 #4F6216 #296216
triadic
#4F6216 #164F62 #62164F
tetradic
#4F6216 #16624F #291662 #621629
square
#4F6216 #16624F #291662 #621629
split-complementary
#4F6216 #162962 #4F1662
monochromatic
#141906 #27300B #4F6216 #779421 #A0C62C

Accessibility & contrast

On white

6.79
#4F6216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#4F6216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6216
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6216#FFFFFF#000000##FFFFFF
##4F62161.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B07
Deuteranopia (green-blind)
#665B1D
Tritanopia (blue-blind)
#535D53
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4f6216;
/* rgb */ color: rgb(79, 98, 22);
/* oklch */ color: oklch(46.5% 0.102 122.8);
Tailwind
colors: {
  custom: {
    50: '#838e59',
    500: '#4f6216',
    950: '#000000',
  },
}
SCSS
$custom: #4f6216;
$custom-light: #838e59;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6216",
  "rgb": {
    "r": 79,
    "g": 98,
    "b": 22
  },
  "hsl": {
    "h": 75,
    "s": 63.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.46468,
    "c": 0.10167,
    "h": 122.8
  },
  "luminance": 0.10456
}

Semantic roles & 50–950 ramp

primary
#4F6216
secondary
#523B99
accent
#41E66B
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4F6216

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

Preview Lab → · Contrast checker → · Palette generator →

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