#4F6612#4F6612

#4F6612 is a mid, moderate yellow-green. Relative luminance 0.112; OKLCH L 47.5% C 0.109 H 124.4°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#4F6612
RGBrgb(79, 102, 18)
HSLhsl(76, 70%, 24%)
HSVhsv(76, 82%, 40%)
CMYKcmyk(22.5%, 0%, 82.4%, 60%)
CIE-LABlab(39.93, -21.18, 41.07)
CIE-LCHlch(39.93, 46.21, 117.28°)
OKLaboklab(47.5% -0.0618 0.0904)
OKLCHoklch(47.5% 0.109 124.4)
XYZxyz(8.0851, 11.2086, 2.3097)
Luminance0.1121 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6612 #291266
analogous
#665312 #4F6612 #256612
triadic
#4F6612 #124F66 #66124F
tetradic
#4F6612 #126653 #291266 #661225
square
#4F6612 #126653 #291266 #661225
split-complementary
#4F6612 #122566 #531266
monochromatic
#141A05 #273209 #4F6612 #779A1B #A0CE24

Accessibility & contrast

On white

6.48
#4F6612 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#4F6612 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6612
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6612#FFFFFF#000000##FFFFFF
##4F66121.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F00
Deuteranopia (green-blind)
#695E1A
Tritanopia (blue-blind)
#536156
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4f6612;
/* rgb */ color: rgb(79, 102, 18);
/* oklch */ color: oklch(47.5% 0.109 124.4);
Tailwind
colors: {
  custom: {
    50: '#839158',
    500: '#4f6612',
    950: '#000000',
  },
}
SCSS
$custom: #4f6612;
$custom-light: #839158;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6612",
  "rgb": {
    "r": 79,
    "g": 102,
    "b": 18
  },
  "hsl": {
    "h": 76.429,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.47497,
    "c": 0.10949,
    "h": 124.4
  },
  "luminance": 0.11209
}

Semantic roles & 50–950 ramp

primary
#4F6612
secondary
#52369E
accent
#3BED6C
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4F6612

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

Preview Lab → · Contrast checker → · Palette generator →

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