#4F6810#4F6810

#4F6810 is a mid, moderate yellow-green. Relative luminance 0.116; OKLCH L 48.0% C 0.113 H 125.1°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#4F6810
RGBrgb(79, 104, 16)
HSLhsl(77, 73%, 24%)
HSVhsv(77, 85%, 41%)
CMYKcmyk(24%, 0%, 84.6%, 59.2%)
CIE-LABlab(40.57, -22.31, 42.31)
CIE-LCHlch(40.57, 47.83, 117.80°)
OKLaboklab(48.02% -0.065 0.0926)
OKLCHoklch(48.02% 0.113 125.1)
XYZxyz(8.2684, 11.6002, 2.2936)
Luminance0.1160 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6810 #291068
analogous
#685510 #4F6810 #236810
triadic
#4F6810 #104F68 #68104F
tetradic
#4F6810 #106855 #291068 #681023
square
#4F6810 #106855 #291068 #681023
split-complementary
#4F6810 #102368 #551068
monochromatic
#141B04 #273308 #4F6810 #779D18 #A0D220

Accessibility & contrast

On white

6.33
#4F6810 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4F6810 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6810
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6810#FFFFFF#000000##FFFFFF
##4F68101.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6100
Deuteranopia (green-blind)
#6B5F1A
Tritanopia (blue-blind)
#536358
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4f6810;
/* rgb */ color: rgb(79, 104, 16);
/* oklch */ color: oklch(48.0% 0.113 125.1);
Tailwind
colors: {
  custom: {
    50: '#849357',
    500: '#4f6810',
    950: '#000000',
  },
}
SCSS
$custom: #4f6810;
$custom-light: #849357;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6810",
  "rgb": {
    "r": 79,
    "g": 104,
    "b": 16
  },
  "hsl": {
    "h": 77.045,
    "s": 73.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.48015,
    "c": 0.11318,
    "h": 125.1
  },
  "luminance": 0.116
}

Semantic roles & 50–950 ramp

primary
#4F6810
secondary
#5234A0
accent
#38F06C
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4F6810

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

Preview Lab → · Contrast checker → · Palette generator →

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