#4F661A#4F661A

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

Color values

HEX#4F661A
RGBrgb(79, 102, 26)
HSLhsl(78, 59%, 25%)
HSVhsv(78, 75%, 40%)
CMYKcmyk(22.5%, 0%, 74.5%, 60%)
CIE-LABlab(39.98, -20.70, 38.08)
CIE-LCHlch(39.98, 43.34, 118.53°)
OKLaboklab(47.56% -0.0598 0.0855)
OKLCHoklch(47.56% 0.104 125)
XYZxyz(8.1623, 11.2395, 2.7165)
Luminance0.1124 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F661A #311A66
analogous
#66571A #4F661A #29661A
triadic
#4F661A #1A4F66 #661A4F
tetradic
#4F661A #1A6657 #311A66 #661A29
square
#4F661A #1A6657 #311A66 #661A29
split-complementary
#4F661A #1A2966 #571A66
monochromatic
#131806 #29350E #4F661A #759726 #9BC833

Accessibility & contrast

On white

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

On black

3.25
#4F661A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4F661A#FFFFFF#000000##FFFFFF
##4F661A1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f661a;
/* rgb */ color: rgb(79, 102, 26);
/* oklch */ color: oklch(47.6% 0.104 125.0);
Tailwind
colors: {
  custom: {
    50: '#83915c',
    500: '#4f661a',
    950: '#000000',
  },
}
SCSS
$custom: #4f661a;
$custom-light: #83915c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f661a",
  "rgb": {
    "r": 79,
    "g": 102,
    "b": 26
  },
  "hsl": {
    "h": 78.158,
    "s": 59.375,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47555,
    "c": 0.10434,
    "h": 125
  },
  "luminance": 0.1124
}

Semantic roles & 50–950 ramp

primary
#4F661A
secondary
#5C409C
accent
#45E375
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4F661A

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

Preview Lab → · Contrast checker → · Palette generator →

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