#4F6615#4F6615

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

Color values

HEX#4F6615
RGBrgb(79, 102, 21)
HSLhsl(77, 66%, 24%)
HSVhsv(77, 79%, 40%)
CMYKcmyk(22.5%, 0%, 79.4%, 60%)
CIE-LABlab(39.95, -21.02, 40.02)
CIE-LCHlch(39.95, 45.20, 117.71°)
OKLaboklab(47.52% -0.0611 0.0887)
OKLCHoklch(47.52% 0.108 124.6)
XYZxyz(8.1113, 11.2191, 2.4475)
Luminance0.1122 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6615 #2C1566
analogous
#665515 #4F6615 #276615
triadic
#4F6615 #154F66 #66154F
tetradic
#4F6615 #156655 #2C1566 #661527
square
#4F6615 #156655 #2C1566 #661527
split-complementary
#4F6615 #152766 #551566
monochromatic
#141905 #28330B #4F6615 #76991F #9ECC2A

Accessibility & contrast

On white

6.47
#4F6615 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4F6615
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6615#FFFFFF#000000##FFFFFF
##4F66151.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F04
Deuteranopia (green-blind)
#695E1D
Tritanopia (blue-blind)
#536157
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4f6615;
/* rgb */ color: rgb(79, 102, 21);
/* oklch */ color: oklch(47.5% 0.108 124.6);
Tailwind
colors: {
  custom: {
    50: '#839159',
    500: '#4f6615',
    950: '#000000',
  },
}
SCSS
$custom: #4f6615;
$custom-light: #839159;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6615",
  "rgb": {
    "r": 79,
    "g": 102,
    "b": 21
  },
  "hsl": {
    "h": 77.037,
    "s": 65.854,
    "l": 24.118
  },
  "oklch": {
    "l": 0.47516,
    "c": 0.10771,
    "h": 124.6
  },
  "luminance": 0.11219
}

Semantic roles & 50–950 ramp

primary
#4F6615
secondary
#563A9D
accent
#3FE96F
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4F6615

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

Preview Lab → · Contrast checker → · Palette generator →

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