#4F931A#4F931A

#4F931A is a mid, vivid yellow-green. Relative luminance 0.226; OKLCH L 59.5% C 0.163 H 135.3°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#4F931A
RGBrgb(79, 147, 26)
HSLhsl(94, 70%, 34%)
HSVhsv(94, 82%, 58%)
CMYKcmyk(46.3%, 0%, 82.3%, 42.4%)
CIE-LABlab(54.66, -41.50, 52.12)
CIE-LCHlch(54.66, 66.62, 128.53°)
OKLaboklab(59.54% -0.1161 0.115)
OKLCHoklch(59.54% 0.163 135.3)
XYZxyz(13.8443, 22.6034, 4.6105)
Luminance0.2260 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F931A #5E1A93
analogous
#8C931A #4F931A #1A9322
triadic
#4F931A #1A4F93 #931A4F
tetradic
#4F931A #1A8C93 #5E1A93 #93221A
square
#4F931A #1A8C93 #5E1A93 #93221A
split-complementary
#4F931A #221A93 #931A8C
monochromatic
#172B08 #335F11 #4F931A #6BC723 #8ADF49

Accessibility & contrast

On white

3.80
#4F931A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#4F931A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F931A
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F931A#FFFFFF#000000##000000
##4F931A1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#908128
Tritanopia (blue-blind)
#4D8D7D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4f931a;
/* rgb */ color: rgb(79, 147, 26);
/* oklch */ color: oklch(59.5% 0.163 135.3);
Tailwind
colors: {
  custom: {
    50: '#87b362',
    500: '#4f931a',
    950: '#000000',
  },
}
SCSS
$custom: #4f931a;
$custom-light: #87b362;
$custom-dark: #000000;
JSON
{
  "hex": "#4f931a",
  "rgb": {
    "r": 79,
    "g": 147,
    "b": 26
  },
  "hsl": {
    "h": 93.719,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.59535,
    "c": 0.16341,
    "h": 135.3
  },
  "luminance": 0.22604
}

Semantic roles & 50–950 ramp

primary
#4F931A
secondary
#8C48C0
accent
#3BED9F
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4F931A

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

Preview Lab → · Contrast checker → · Palette generator →

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