#4D931B#4D931B

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

Color values

HEX#4D931B
RGBrgb(77, 147, 27)
HSLhsl(95, 69%, 34%)
HSVhsv(95, 82%, 58%)
CMYKcmyk(47.6%, 0%, 81.6%, 42.4%)
CIE-LABlab(54.58, -42.11, 51.71)
CIE-LCHlch(54.58, 66.69, 129.15°)
OKLaboklab(59.44% -0.1176 0.1143)
OKLCHoklch(59.44% 0.164 135.8)
XYZxyz(13.6918, 22.5235, 4.6627)
Luminance0.2252 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D931B #611B93
analogous
#89931B #4D931B #1B9325
triadic
#4D931B #1B4D93 #931B4D
tetradic
#4D931B #1B8993 #611B93 #93251B
square
#4D931B #1B8993 #611B93 #93251B
split-complementary
#4D931B #251B93 #931B89
monochromatic
#172C08 #325F12 #4D931B #68C724 #88DE4B

Accessibility & contrast

On white

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

On black

5.50
#4D931B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D931B
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D931B#FFFFFF#000000##000000
##4D931B1.003.815.505.50
#FFFFFF3.811.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d931b;
/* rgb */ color: rgb(77, 147, 27);
/* oklch */ color: oklch(59.4% 0.164 135.8);
Tailwind
colors: {
  custom: {
    50: '#86b363',
    500: '#4d931b',
    950: '#000000',
  },
}
SCSS
$custom: #4d931b;
$custom-light: #86b363;
$custom-dark: #000000;
JSON
{
  "hex": "#4d931b",
  "rgb": {
    "r": 77,
    "g": 147,
    "b": 27
  },
  "hsl": {
    "h": 95,
    "s": 68.966,
    "l": 34.118
  },
  "oklch": {
    "l": 0.59443,
    "c": 0.16397,
    "h": 135.8
  },
  "luminance": 0.22524
}

Semantic roles & 50–950 ramp

primary
#4D931B
secondary
#8F4AC0
accent
#3CECA3
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4D931B

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

Preview Lab → · Contrast checker → · Palette generator →

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