#4F9D12#4F9D12

#4F9D12 is a light, vivid yellow-green. Relative luminance 0.258; OKLCH L 62.2% C 0.178 H 135.9°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#4F9D12
RGBrgb(79, 157, 18)
HSLhsl(94, 79%, 34%)
HSVhsv(94, 89%, 62%)
CMYKcmyk(49.7%, 0%, 88.5%, 38.4%)
CIE-LABlab(57.86, -45.86, 56.97)
CIE-LCHlch(57.86, 73.14, 128.83°)
OKLaboklab(62.16% -0.1282 0.1241)
OKLCHoklch(62.16% 0.178 135.9)
XYZxyz(15.3902, 25.8188, 4.7447)
Luminance0.2582 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F9D12 #60129D
analogous
#959D12 #4F9D12 #129D1A
triadic
#4F9D12 #124F9D #9D124F
tetradic
#4F9D12 #12959D #60129D #9D1A12
square
#4F9D12 #12959D #60129D #9D1A12
split-complementary
#4F9D12 #1A129D #9D1295
monochromatic
#182F05 #33660C #4F9D12 #6BD418 #8AE940

Accessibility & contrast

On white

3.41
#4F9D12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#4F9D12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F9D12
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F9D12#FFFFFF#000000##000000
##4F9D121.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F00
Deuteranopia (green-blind)
#998926
Tritanopia (blue-blind)
#4B9785
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #4f9d12;
/* rgb */ color: rgb(79, 157, 18);
/* oklch */ color: oklch(62.2% 0.178 135.9);
Tailwind
colors: {
  custom: {
    50: '#89ba61',
    500: '#4f9d12',
    950: '#000000',
  },
}
SCSS
$custom: #4f9d12;
$custom-light: #89ba61;
$custom-dark: #000000;
JSON
{
  "hex": "#4f9d12",
  "rgb": {
    "r": 79,
    "g": 157,
    "b": 18
  },
  "hsl": {
    "h": 93.669,
    "s": 79.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.62159,
    "c": 0.17841,
    "h": 135.9
  },
  "luminance": 0.2582
}

Semantic roles & 50–950 ramp

primary
#4F9D12
secondary
#8E42C9
accent
#32F6A0
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #4F9D12

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

Preview Lab → · Contrast checker → · Palette generator →

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