#4F6211#4F6211

#4F6211 is a mid, moderate yellow-green. Relative luminance 0.104; OKLCH L 46.4% C 0.105 H 122.5°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#4F6211
RGBrgb(79, 98, 17)
HSLhsl(74, 70%, 23%)
HSVhsv(74, 83%, 38%)
CMYKcmyk(19.4%, 0%, 82.7%, 61.6%)
CIE-LABlab(38.62, -19.13, 40.20)
CIE-LCHlch(38.62, 44.52, 115.45°)
OKLaboklab(46.43% -0.0563 0.0883)
OKLCHoklch(46.43% 0.105 122.5)
XYZxyz(7.6934, 10.4381, 2.1396)
Luminance0.1044 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6211 #241162
analogous
#624C11 #4F6211 #276211
triadic
#4F6211 #114F62 #62114F
tetradic
#4F6211 #11624C #241162 #621127
square
#4F6211 #11624C #241162 #621127
split-complementary
#4F6211 #112762 #4C1162
monochromatic
#151A05 #252E08 #4F6211 #79961A #A3CA23

Accessibility & contrast

On white

6.80
#4F6211 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4F6211
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6211#FFFFFF#000000##FFFFFF
##4F62111.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B00
Deuteranopia (green-blind)
#665B19
Tritanopia (blue-blind)
#545D53
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4f6211;
/* rgb */ color: rgb(79, 98, 17);
/* oklch */ color: oklch(46.4% 0.105 122.5);
Tailwind
colors: {
  custom: {
    50: '#838e57',
    500: '#4f6211',
    950: '#000000',
  },
}
SCSS
$custom: #4f6211;
$custom-light: #838e57;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6211",
  "rgb": {
    "r": 79,
    "g": 98,
    "b": 17
  },
  "hsl": {
    "h": 74.074,
    "s": 70.435,
    "l": 22.549
  },
  "oklch": {
    "l": 0.46434,
    "c": 0.10476,
    "h": 122.5
  },
  "luminance": 0.10438
}

Semantic roles & 50–950 ramp

primary
#4F6211
secondary
#4C349A
accent
#3BED64
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4F6211

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

Preview Lab → · Contrast checker → · Palette generator →

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