#4F6912#4F6912

#4F6912 is a mid, moderate yellow-green. Relative luminance 0.118; OKLCH L 48.3% C 0.113 H 125.6°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#4F6912
RGBrgb(79, 105, 18)
HSLhsl(78, 71%, 24%)
HSVhsv(78, 83%, 41%)
CMYKcmyk(24.8%, 0%, 82.9%, 58.8%)
CIE-LABlab(40.91, -22.72, 41.97)
CIE-LCHlch(40.91, 47.73, 118.43°)
OKLaboklab(48.29% -0.066 0.0923)
OKLCHoklch(48.29% 0.113 125.6)
XYZxyz(8.3853, 11.8090, 2.4097)
Luminance0.1181 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6912 #2C1269
analogous
#695812 #4F6912 #246912
triadic
#4F6912 #124F69 #69124F
tetradic
#4F6912 #126958 #2C1269 #691224
square
#4F6912 #126958 #2C1269 #691224
split-complementary
#4F6912 #122469 #581269
monochromatic
#141A04 #283509 #4F6912 #769D1B #9ED124

Accessibility & contrast

On white

6.25
#4F6912 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#4F6912 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6912
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6912#FFFFFF#000000##FFFFFF
##4F69121.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6100
Deuteranopia (green-blind)
#6C601B
Tritanopia (blue-blind)
#536459
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4f6912;
/* rgb */ color: rgb(79, 105, 18);
/* oklch */ color: oklch(48.3% 0.113 125.6);
Tailwind
colors: {
  custom: {
    50: '#839458',
    500: '#4f6912',
    950: '#000000',
  },
}
SCSS
$custom: #4f6912;
$custom-light: #839458;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6912",
  "rgb": {
    "r": 79,
    "g": 105,
    "b": 18
  },
  "hsl": {
    "h": 77.931,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.48292,
    "c": 0.11345,
    "h": 125.6
  },
  "luminance": 0.11809
}

Semantic roles & 50–950 ramp

primary
#4F6912
secondary
#5636A1
accent
#3AED70
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4F6912

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

Preview Lab → · Contrast checker → · Palette generator →

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