#4F901C#4F901C

#4F901C is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 58.7% C 0.159 H 135.1°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#4F901C
RGBrgb(79, 144, 28)
HSLhsl(94, 67%, 34%)
HSVhsv(94, 81%, 56%)
CMYKcmyk(45.1%, 0%, 80.6%, 43.5%)
CIE-LABlab(53.70, -40.15, 50.62)
CIE-LCHlch(53.70, 64.61, 128.42°)
OKLaboklab(58.75% -0.1124 0.1121)
OKLCHoklch(58.75% 0.159 135.1)
XYZxyz(13.4070, 21.6918, 4.5789)
Luminance0.2169 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F901C #5D1C90
analogous
#89901C #4F901C #1C9023
triadic
#4F901C #1C4F90 #901C4F
tetradic
#4F901C #1C8990 #5D1C90 #90231C
square
#4F901C #1C8990 #5D1C90 #90231C
split-complementary
#4F901C #231C90 #901C89
monochromatic
#172A08 #335D12 #4F901C #6BC326 #8ADC4A

Accessibility & contrast

On white

3.93
#4F901C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#4F901C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F901C
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F901C#FFFFFF#000000##000000
##4F901C1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#8D7E29
Tritanopia (blue-blind)
#4D8A7B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4f901c;
/* rgb */ color: rgb(79, 144, 28);
/* oklch */ color: oklch(58.7% 0.159 135.1);
Tailwind
colors: {
  custom: {
    50: '#87b163',
    500: '#4f901c',
    950: '#000000',
  },
}
SCSS
$custom: #4f901c;
$custom-light: #87b163;
$custom-dark: #000000;
JSON
{
  "hex": "#4f901c",
  "rgb": {
    "r": 79,
    "g": 144,
    "b": 28
  },
  "hsl": {
    "h": 93.621,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58747,
    "c": 0.15875,
    "h": 135.1
  },
  "luminance": 0.21693
}

Semantic roles & 50–950 ramp

primary
#4F901C
secondary
#8B4ABE
accent
#3DEA9E
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4F901C

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

Preview Lab → · Contrast checker → · Palette generator →

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