#4D931C#4D931C

#4D931C is a mid, vivid yellow-green. Relative luminance 0.225; OKLCH L 59.4% C 0.164 H 135.9°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#4D931C
RGBrgb(77, 147, 28)
HSLhsl(95, 68%, 34%)
HSVhsv(95, 81%, 58%)
CMYKcmyk(47.6%, 0%, 81%, 42.4%)
CIE-LABlab(54.58, -42.06, 51.41)
CIE-LCHlch(54.58, 66.42, 129.28°)
OKLaboklab(59.45% -0.1174 0.1138)
OKLCHoklch(59.45% 0.164 135.9)
XYZxyz(13.7035, 22.5282, 4.7247)
Luminance0.2253 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D931C #621C93
analogous
#89931C #4D931C #1C9327
triadic
#4D931C #1C4D93 #931C4D
tetradic
#4D931C #1C8993 #621C93 #93271C
square
#4D931C #1C8993 #621C93 #93271C
split-complementary
#4D931C #271C93 #931C89
monochromatic
#172C08 #326012 #4D931C #68C626 #88DD4C

Accessibility & contrast

On white

3.81
#4D931C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#4D931C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D931C
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D931C#FFFFFF#000000##000000
##4D931C1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#8F802A
Tritanopia (blue-blind)
#4A8D7D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4d931c;
/* rgb */ color: rgb(77, 147, 28);
/* oklch */ color: oklch(59.4% 0.164 135.9);
Tailwind
colors: {
  custom: {
    50: '#86b363',
    500: '#4d931c',
    950: '#000000',
  },
}
SCSS
$custom: #4d931c;
$custom-light: #86b363;
$custom-dark: #000000;
JSON
{
  "hex": "#4d931c",
  "rgb": {
    "r": 77,
    "g": 147,
    "b": 28
  },
  "hsl": {
    "h": 95.294,
    "s": 68,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59449,
    "c": 0.1635,
    "h": 135.9
  },
  "luminance": 0.22529
}

Semantic roles & 50–950 ramp

primary
#4D931C
secondary
#904CBF
accent
#3DEBA3
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4D931C

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

Preview Lab → · Contrast checker → · Palette generator →

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