#4F6210#4F6210

#4F6210 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#4F6210
RGBrgb(79, 98, 16)
HSLhsl(74, 72%, 22%)
HSVhsv(74, 84%, 38%)
CMYKcmyk(19.4%, 0%, 83.7%, 61.6%)
CIE-LABlab(38.61, -19.18, 40.53)
CIE-LCHlch(38.61, 44.84, 115.33°)
OKLaboklab(46.43% -0.0565 0.0889)
OKLCHoklch(46.43% 0.105 122.5)
XYZxyz(7.6858, 10.4350, 2.0994)
Luminance0.1043 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6210 #231062
analogous
#624C10 #4F6210 #266210
triadic
#4F6210 #104F62 #62104F
tetradic
#4F6210 #10624C #231062 #621026
square
#4F6210 #10624C #231062 #621026
split-complementary
#4F6210 #102662 #4C1062
monochromatic
#151A04 #252D07 #4F6210 #799719 #A4CB21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F6210#FFFFFF#000000##FFFFFF
##4F62101.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)
#665B18
Tritanopia (blue-blind)
#545D53
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4f6210;
/* rgb */ color: rgb(79, 98, 16);
/* oklch */ color: oklch(46.4% 0.105 122.5);
Tailwind
colors: {
  custom: {
    50: '#838e57',
    500: '#4f6210',
    950: '#000000',
  },
}
SCSS
$custom: #4f6210;
$custom-light: #838e57;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6210",
  "rgb": {
    "r": 79,
    "g": 98,
    "b": 16
  },
  "hsl": {
    "h": 73.902,
    "s": 71.93,
    "l": 22.353
  },
  "oklch": {
    "l": 0.46428,
    "c": 0.10531,
    "h": 122.5
  },
  "luminance": 0.10435
}

Semantic roles & 50–950 ramp

primary
#4F6210
secondary
#4B339B
accent
#39EF63
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4F6210

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

Preview Lab → · Contrast checker → · Palette generator →

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