#4F931C#4F931C

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

Color values

HEX#4F931C
RGBrgb(79, 147, 28)
HSLhsl(94, 68%, 34%)
HSVhsv(94, 81%, 58%)
CMYKcmyk(46.3%, 0%, 81%, 42.4%)
CIE-LABlab(54.67, -41.40, 51.53)
CIE-LCHlch(54.67, 66.10, 128.78°)
OKLaboklab(59.55% -0.1157 0.114)
OKLCHoklch(59.55% 0.162 135.4)
XYZxyz(13.8674, 22.6127, 4.7324)
Luminance0.2261 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F931C #601C93
analogous
#8B931C #4F931C #1C9325
triadic
#4F931C #1C4F93 #931C4F
tetradic
#4F931C #1C8B93 #601C93 #93251C
square
#4F931C #1C8B93 #601C93 #93251C
split-complementary
#4F931C #251C93 #931C8B
monochromatic
#182C08 #336012 #4F931C #6BC626 #8ADD4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F931C#FFFFFF#000000##000000
##4F931C1.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)
#90812A
Tritanopia (blue-blind)
#4D8D7D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4f931c;
/* rgb */ color: rgb(79, 147, 28);
/* oklch */ color: oklch(59.5% 0.162 135.4);
Tailwind
colors: {
  custom: {
    50: '#87b363',
    500: '#4f931c',
    950: '#000000',
  },
}
SCSS
$custom: #4f931c;
$custom-light: #87b363;
$custom-dark: #000000;
JSON
{
  "hex": "#4f931c",
  "rgb": {
    "r": 79,
    "g": 147,
    "b": 28
  },
  "hsl": {
    "h": 94.286,
    "s": 68,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59546,
    "c": 0.16247,
    "h": 135.4
  },
  "luminance": 0.22614
}

Semantic roles & 50–950 ramp

primary
#4F931C
secondary
#8E4CBF
accent
#3DEBA0
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4F931C

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

Preview Lab → · Contrast checker → · Palette generator →

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