#4F8A29#4F8A29

#4F8A29 is a mid, vivid yellow-green. Relative luminance 0.200; OKLCH L 57.2% C 0.143 H 135.5°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#4F8A29
RGBrgb(79, 138, 41)
HSLhsl(96, 54%, 35%)
HSVhsv(96, 70%, 54%)
CMYKcmyk(42.8%, 0%, 70.3%, 45.9%)
CIE-LABlab(51.84, -36.69, 43.99)
CIE-LCHlch(51.84, 57.28, 129.83°)
OKLaboklab(57.25% -0.1021 0.1002)
OKLCHoklch(57.25% 0.143 135.5)
XYZxyz(12.7129, 19.9986, 5.2876)
Luminance0.2000 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8A29 #64298A
analogous
#7F8A29 #4F8A29 #298A34
triadic
#4F8A29 #294F8A #8A294F
tetradic
#4F8A29 #297F8A #64298A #8A3429
square
#4F8A29 #297F8A #64298A #8A3429
split-complementary
#4F8A29 #34298A #8A297F
monochromatic
#192C0D #345B1B #4F8A29 #6AB937 #8ACF5E

Accessibility & contrast

On white

4.20
#4F8A29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#4F8A29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8A29
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8A29#FFFFFF#000000##000000
##4F8A291.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F1B
Deuteranopia (green-blind)
#877A32
Tritanopia (blue-blind)
#4D8577
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4f8a29;
/* rgb */ color: rgb(79, 138, 41);
/* oklch */ color: oklch(57.2% 0.143 135.5);
Tailwind
colors: {
  custom: {
    50: '#85ac68',
    500: '#4f8a29',
    950: '#000000',
  },
}
SCSS
$custom: #4f8a29;
$custom-light: #85ac68;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8a29",
  "rgb": {
    "r": 79,
    "g": 138,
    "b": 41
  },
  "hsl": {
    "h": 96.495,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57247,
    "c": 0.14305,
    "h": 135.5
  },
  "luminance": 0.19999
}

Semantic roles & 50–950 ramp

primary
#4F8A29
secondary
#915AB5
accent
#4ADEA4
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4F8A29

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

Preview Lab → · Contrast checker → · Palette generator →

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