#4D741B#4D741B

#4D741B is a mid, vivid yellow-green. Relative luminance 0.141; OKLCH L 51.1% C 0.124 H 130.6°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#4D741B
RGBrgb(77, 116, 27)
HSLhsl(86, 62%, 28%)
HSVhsv(86, 77%, 45%)
CMYKcmyk(33.6%, 0%, 76.7%, 54.5%)
CIE-LABlab(44.44, -28.46, 42.07)
CIE-LCHlch(44.44, 50.79, 124.08°)
OKLaboklab(51.15% -0.0807 0.0941)
OKLCHoklch(51.15% 0.124 130.6)
XYZxyz(9.5037, 14.1474, 3.2667)
Luminance0.1415 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D741B #421B74
analogous
#746E1B #4D741B #20741B
triadic
#4D741B #1B4D74 #741B4D
tetradic
#4D741B #1B746E #421B74 #741B20
square
#4D741B #1B746E #421B74 #741B20
split-complementary
#4D741B #1B2074 #6E1B74
monochromatic
#101906 #2C420F #4D741B #6EA627 #8ED139

Accessibility & contrast

On white

5.48
#4D741B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#4D741B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D741B
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D741B#FFFFFF#000000##FFFFFF
##4D741B1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B09
Deuteranopia (green-blind)
#746824
Tritanopia (blue-blind)
#4F6F63
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4d741b;
/* rgb */ color: rgb(77, 116, 27);
/* oklch */ color: oklch(51.1% 0.124 130.6);
Tailwind
colors: {
  custom: {
    50: '#829c5e',
    500: '#4d741b',
    950: '#000000',
  },
}
SCSS
$custom: #4d741b;
$custom-light: #829c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#4d741b",
  "rgb": {
    "r": 77,
    "g": 116,
    "b": 27
  },
  "hsl": {
    "h": 86.292,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51147,
    "c": 0.12398,
    "h": 130.6
  },
  "luminance": 0.14148
}

Semantic roles & 50–950 ramp

primary
#4D741B
secondary
#6F42A9
accent
#42E58A
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4D741B

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

Preview Lab → · Contrast checker → · Palette generator →

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