#4F6412#4F6412

#4F6412 is a mid, moderate yellow-green. Relative luminance 0.108; OKLCH L 47.0% C 0.107 H 123.5°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#4F6412
RGBrgb(79, 100, 18)
HSLhsl(75, 69%, 23%)
HSVhsv(75, 82%, 39%)
CMYKcmyk(21%, 0%, 82%, 60.8%)
CIE-LABlab(39.28, -20.14, 40.46)
CIE-LCHlch(39.28, 45.20, 116.46°)
OKLaboklab(46.97% -0.059 0.0891)
OKLCHoklch(46.97% 0.107 123.5)
XYZxyz(7.8909, 10.8202, 2.2449)
Luminance0.1082 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6412 #271264
analogous
#645012 #4F6412 #266412
triadic
#4F6412 #124F64 #64124F
tetradic
#4F6412 #126450 #271264 #641226
square
#4F6412 #126450 #271264 #641226
split-complementary
#4F6412 #122664 #501264
monochromatic
#141A05 #263009 #4F6412 #78981B #A1CC25

Accessibility & contrast

On white

6.64
#4F6412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#4F6412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6412
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6412#FFFFFF#000000##FFFFFF
##4F64121.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#675C1A
Tritanopia (blue-blind)
#535F55
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4f6412;
/* rgb */ color: rgb(79, 100, 18);
/* oklch */ color: oklch(47.0% 0.107 123.5);
Tailwind
colors: {
  custom: {
    50: '#839058',
    500: '#4f6412',
    950: '#000000',
  },
}
SCSS
$custom: #4f6412;
$custom-light: #839058;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6412",
  "rgb": {
    "r": 79,
    "g": 100,
    "b": 18
  },
  "hsl": {
    "h": 75.366,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.46968,
    "c": 0.10684,
    "h": 123.5
  },
  "luminance": 0.1082
}

Semantic roles & 50–950 ramp

primary
#4F6412
secondary
#50369C
accent
#3BEC69
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4F6412

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

Preview Lab → · Contrast checker → · Palette generator →

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