#4F6010#4F6010

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

Color values

HEX#4F6010
RGBrgb(79, 96, 16)
HSLhsl(73, 71%, 22%)
HSVhsv(73, 83%, 38%)
CMYKcmyk(17.7%, 0%, 83.3%, 62.4%)
CIE-LABlab(37.96, -18.12, 39.93)
CIE-LCHlch(37.96, 43.85, 114.40°)
OKLaboklab(45.9% -0.0536 0.0876)
OKLCHoklch(45.9% 0.103 121.5)
XYZxyz(7.5010, 10.0654, 2.0378)
Luminance0.1007 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6010 #211060
analogous
#604910 #4F6010 #276010
triadic
#4F6010 #104F60 #60104F
tetradic
#4F6010 #106049 #211060 #601027
square
#4F6010 #106049 #211060 #601027
split-complementary
#4F6010 #102760 #491060
monochromatic
#161A04 #242C07 #4F6010 #7A9419 #A5C921

Accessibility & contrast

On white

6.97
#4F6010 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4F6010 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6010
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6010#FFFFFF#000000##FFFFFF
##4F60101.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A00
Deuteranopia (green-blind)
#645918
Tritanopia (blue-blind)
#545B51
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4f6010;
/* rgb */ color: rgb(79, 96, 16);
/* oklch */ color: oklch(45.9% 0.103 121.5);
Tailwind
colors: {
  custom: {
    50: '#838d56',
    500: '#4f6010',
    950: '#000000',
  },
}
SCSS
$custom: #4f6010;
$custom-light: #838d56;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6010",
  "rgb": {
    "r": 79,
    "g": 96,
    "b": 16
  },
  "hsl": {
    "h": 72.75,
    "s": 71.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.459,
    "c": 0.1027,
    "h": 121.5
  },
  "luminance": 0.10065
}

Semantic roles & 50–950 ramp

primary
#4F6010
secondary
#493399
accent
#3AEE60
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4F6010

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

Preview Lab → · Contrast checker → · Palette generator →

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