#4F851A#4F851A

#4F851A is a mid, vivid yellow-green. Relative luminance 0.185; OKLCH L 55.8% C 0.146 H 133.3°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4F851A
RGBrgb(79, 133, 26)
HSLhsl(90, 67%, 31%)
HSVhsv(90, 80%, 52%)
CMYKcmyk(40.6%, 0%, 80.5%, 47.8%)
CIE-LABlab(50.11, -35.54, 47.90)
CIE-LCHlch(50.11, 59.64, 126.58°)
OKLaboklab(55.8% -0.1001 0.1061)
OKLCHoklch(55.8% 0.146 133.3)
XYZxyz(11.7982, 18.5113, 3.9285)
Luminance0.1851 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F851A #501A85
analogous
#84851A #4F851A #1A851A
triadic
#4F851A #1A4F85 #851A4F
tetradic
#4F851A #1A8485 #501A85 #851A1A
square
#4F851A #1A8485 #501A85 #851A1A
split-complementary
#4F851A #1A1A85 #851A84
monochromatic
#121F06 #315210 #4F851A #6DB824 #8CDA40

Accessibility & contrast

On white

4.47
#4F851A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#4F851A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F851A
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F851A#FFFFFF#000000##000000
##4F851A1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#837626
Tritanopia (blue-blind)
#4F7F71
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4f851a;
/* rgb */ color: rgb(79, 133, 26);
/* oklch */ color: oklch(55.8% 0.146 133.3);
Tailwind
colors: {
  custom: {
    50: '#85a960',
    500: '#4f851a',
    950: '#000000',
  },
}
SCSS
$custom: #4f851a;
$custom-light: #85a960;
$custom-dark: #000000;
JSON
{
  "hex": "#4f851a",
  "rgb": {
    "r": 79,
    "g": 133,
    "b": 26
  },
  "hsl": {
    "h": 90.28,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55803,
    "c": 0.14587,
    "h": 133.3
  },
  "luminance": 0.18512
}

Semantic roles & 50–950 ramp

primary
#4F851A
secondary
#7E42B8
accent
#3EEA95
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4F851A

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

Preview Lab → · Contrast checker → · Palette generator →

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