#4F841A#4F841A

#4F841A is a mid, vivid yellow-green. Relative luminance 0.182; OKLCH L 55.5% C 0.145 H 133.2°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#4F841A
RGBrgb(79, 132, 26)
HSLhsl(90, 67%, 31%)
HSVhsv(90, 80%, 52%)
CMYKcmyk(40.2%, 0%, 80.3%, 48.2%)
CIE-LABlab(49.78, -35.10, 47.59)
CIE-LCHlch(49.78, 59.13, 126.41°)
OKLaboklab(55.54% -0.0989 0.1055)
OKLCHoklch(55.54% 0.145 133.2)
XYZxyz(11.6620, 18.2388, 3.8831)
Luminance0.1824 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F841A #4F1A84
analogous
#84841A #4F841A #1A841A
triadic
#4F841A #1A4F84 #841A4F
tetradic
#4F841A #1A8484 #4F1A84 #841A1A
square
#4F841A #1A8484 #4F1A84 #841A1A
split-complementary
#4F841A #1A1A84 #841A84
monochromatic
#121E06 #305110 #4F841A #6EB724 #8CD93F

Accessibility & contrast

On white

4.52
#4F841A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#4F841A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F841A
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F841A#FFFFFF#000000##000000
##4F841A1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#827526
Tritanopia (blue-blind)
#4F7E70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4f841a;
/* rgb */ color: rgb(79, 132, 26);
/* oklch */ color: oklch(55.5% 0.145 133.2);
Tailwind
colors: {
  custom: {
    50: '#85a860',
    500: '#4f841a',
    950: '#000000',
  },
}
SCSS
$custom: #4f841a;
$custom-light: #85a860;
$custom-dark: #000000;
JSON
{
  "hex": "#4f841a",
  "rgb": {
    "r": 79,
    "g": 132,
    "b": 26
  },
  "hsl": {
    "h": 90,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55536,
    "c": 0.14459,
    "h": 133.2
  },
  "luminance": 0.18239
}

Semantic roles & 50–950 ramp

primary
#4F841A
secondary
#7D42B8
accent
#3EEA94
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #4F841A

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

Preview Lab → · Contrast checker → · Palette generator →

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