#4F6712#4F6712

#4F6712 is a mid, moderate yellow-green. Relative luminance 0.114; OKLCH L 47.8% C 0.111 H 124.8°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#4F6712
RGBrgb(79, 103, 18)
HSLhsl(77, 70%, 24%)
HSVhsv(77, 83%, 40%)
CMYKcmyk(23.3%, 0%, 82.5%, 59.6%)
CIE-LABlab(40.26, -21.70, 41.37)
CIE-LCHlch(40.26, 46.71, 117.67°)
OKLaboklab(47.76% -0.0632 0.091)
OKLCHoklch(47.76% 0.111 124.8)
XYZxyz(8.1840, 11.4063, 2.3426)
Luminance0.1141 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6712 #2A1267
analogous
#675412 #4F6712 #246712
triadic
#4F6712 #124F67 #67124F
tetradic
#4F6712 #126754 #2A1267 #671224
square
#4F6712 #126754 #2A1267 #671224
split-complementary
#4F6712 #122467 #541267
monochromatic
#141A05 #273309 #4F6712 #779B1B #9FCF24

Accessibility & contrast

On white

6.40
#4F6712 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#4F6712 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6712
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6712#FFFFFF#000000##FFFFFF
##4F67121.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6000
Deuteranopia (green-blind)
#6A5F1B
Tritanopia (blue-blind)
#536257
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4f6712;
/* rgb */ color: rgb(79, 103, 18);
/* oklch */ color: oklch(47.8% 0.111 124.8);
Tailwind
colors: {
  custom: {
    50: '#839258',
    500: '#4f6712',
    950: '#000000',
  },
}
SCSS
$custom: #4f6712;
$custom-light: #839258;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6712",
  "rgb": {
    "r": 79,
    "g": 103,
    "b": 18
  },
  "hsl": {
    "h": 76.941,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.47762,
    "c": 0.11081,
    "h": 124.8
  },
  "luminance": 0.11406
}

Semantic roles & 50–950 ramp

primary
#4F6712
secondary
#54369F
accent
#3BED6D
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0D04
muted
#7C7D79

Preview Lab

Preview with #4F6712

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

Preview Lab → · Contrast checker → · Palette generator →

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