#4D941B#4D941B

#4D941B is a mid, vivid yellow-green. Relative luminance 0.228; OKLCH L 59.7% C 0.165 H 135.9°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#4D941B
RGBrgb(77, 148, 27)
HSLhsl(95, 69%, 34%)
HSVhsv(95, 82%, 58%)
CMYKcmyk(48%, 0%, 81.8%, 42%)
CIE-LABlab(54.90, -42.52, 52.01)
CIE-LCHlch(54.90, 67.18, 129.26°)
OKLaboklab(59.71% -0.1187 0.1149)
OKLCHoklch(59.71% 0.165 135.9)
XYZxyz(13.8479, 22.8358, 4.7148)
Luminance0.2284 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D941B #621B94
analogous
#8A941B #4D941B #1B9426
triadic
#4D941B #1B4D94 #941B4D
tetradic
#4D941B #1B8A94 #621B94 #94261B
square
#4D941B #1B8A94 #621B94 #94261B
split-complementary
#4D941B #261B94 #941B8A
monochromatic
#172C08 #326012 #4D941B #68C824 #88DE4B

Accessibility & contrast

On white

3.77
#4D941B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#4D941B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D941B
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D941B#FFFFFF#000000##000000
##4D941B1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#908129
Tritanopia (blue-blind)
#4A8E7E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4d941b;
/* rgb */ color: rgb(77, 148, 27);
/* oklch */ color: oklch(59.7% 0.165 135.9);
Tailwind
colors: {
  custom: {
    50: '#86b463',
    500: '#4d941b',
    950: '#000000',
  },
}
SCSS
$custom: #4d941b;
$custom-light: #86b463;
$custom-dark: #000000;
JSON
{
  "hex": "#4d941b",
  "rgb": {
    "r": 77,
    "g": 148,
    "b": 27
  },
  "hsl": {
    "h": 95.207,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5971,
    "c": 0.1652,
    "h": 135.9
  },
  "luminance": 0.22837
}

Semantic roles & 50–950 ramp

primary
#4D941B
secondary
#904BC0
accent
#3CECA3
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4D941B

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

Preview Lab → · Contrast checker → · Palette generator →

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