#4F8D29#4F8D29

#4F8D29 is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.0% C 0.147 H 135.9°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#4F8D29
RGBrgb(79, 141, 41)
HSLhsl(97, 55%, 36%)
HSVhsv(97, 71%, 55%)
CMYKcmyk(44%, 0%, 70.9%, 44.7%)
CIE-LABlab(52.81, -37.99, 45.00)
CIE-LCHlch(52.81, 58.90, 130.17°)
OKLaboklab(58.04% -0.1056 0.1023)
OKLCHoklch(58.04% 0.147 135.9)
XYZxyz(13.1492, 20.8714, 5.4331)
Luminance0.2087 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8D29 #67298D
analogous
#818D29 #4F8D29 #298D35
triadic
#4F8D29 #294F8D #8D294F
tetradic
#4F8D29 #29818D #67298D #8D3529
square
#4F8D29 #29818D #67298D #8D3529
split-complementary
#4F8D29 #35298D #8D2981
monochromatic
#1A2E0D #345E1B #4F8D29 #6ABC37 #8BD160

Accessibility & contrast

On white

4.06
#4F8D29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#4F8D29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8D29
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8D29#FFFFFF#000000##000000
##4F8D291.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811A
Deuteranopia (green-blind)
#8A7C32
Tritanopia (blue-blind)
#4D8879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4f8d29;
/* rgb */ color: rgb(79, 141, 41);
/* oklch */ color: oklch(58.0% 0.147 135.9);
Tailwind
colors: {
  custom: {
    50: '#86af69',
    500: '#4f8d29',
    950: '#000000',
  },
}
SCSS
$custom: #4f8d29;
$custom-light: #86af69;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8d29",
  "rgb": {
    "r": 79,
    "g": 141,
    "b": 41
  },
  "hsl": {
    "h": 97.2,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.58044,
    "c": 0.14707,
    "h": 135.9
  },
  "luminance": 0.20872
}

Semantic roles & 50–950 ramp

primary
#4F8D29
secondary
#945BB6
accent
#4ADEA6
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #4F8D29

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

Preview Lab → · Contrast checker → · Palette generator →

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