#4F6012#4F6012

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

Color values

HEX#4F6012
RGBrgb(79, 96, 18)
HSLhsl(73, 68%, 22%)
HSVhsv(73, 81%, 38%)
CMYKcmyk(17.7%, 0%, 81.3%, 62.4%)
CIE-LABlab(37.97, -18.02, 39.25)
CIE-LCHlch(37.97, 43.18, 114.66°)
OKLaboklab(45.91% -0.0532 0.0865)
OKLCHoklch(45.91% 0.102 121.6)
XYZxyz(7.5166, 10.0717, 2.1202)
Luminance0.1007 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6012 #231260
analogous
#604A12 #4F6012 #286012
triadic
#4F6012 #124F60 #60124F
tetradic
#4F6012 #12604A #231260 #601228
square
#4F6012 #12604A #231260 #601228
split-complementary
#4F6012 #122860 #4A1260
monochromatic
#151A05 #252C08 #4F6012 #79941C #A4C725

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F6012#FFFFFF#000000##FFFFFF
##4F60121.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)
#665A01
Deuteranopia (green-blind)
#645919
Tritanopia (blue-blind)
#545B51
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4f6012;
/* rgb */ color: rgb(79, 96, 18);
/* oklch */ color: oklch(45.9% 0.102 121.6);
Tailwind
colors: {
  custom: {
    50: '#838d57',
    500: '#4f6012',
    950: '#000000',
  },
}
SCSS
$custom: #4f6012;
$custom-light: #838d57;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6012",
  "rgb": {
    "r": 79,
    "g": 96,
    "b": 18
  },
  "hsl": {
    "h": 73.077,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.45913,
    "c": 0.10155,
    "h": 121.6
  },
  "luminance": 0.10072
}

Semantic roles & 50–950 ramp

primary
#4F6012
secondary
#4B3698
accent
#3DEB63
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4F6012

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

Preview Lab → · Contrast checker → · Palette generator →

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