#4D751B#4D751B

#4D751B is a mid, vivid yellow-green. Relative luminance 0.144; OKLCH L 51.4% C 0.125 H 130.9°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#4D751B
RGBrgb(77, 117, 27)
HSLhsl(87, 63%, 28%)
HSVhsv(87, 77%, 46%)
CMYKcmyk(34.2%, 0%, 76.9%, 54.1%)
CIE-LABlab(44.77, -28.94, 42.39)
CIE-LCHlch(44.77, 51.32, 124.32°)
OKLaboklab(51.41% -0.082 0.0948)
OKLCHoklch(51.41% 0.125 130.9)
XYZxyz(9.6196, 14.3792, 3.3053)
Luminance0.1438 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D751B #431B75
analogous
#75701B #4D751B #20751B
triadic
#4D751B #1B4D75 #751B4D
tetradic
#4D751B #1B7570 #431B75 #751B20
square
#4D751B #1B7570 #431B75 #751B20
split-complementary
#4D751B #1B2075 #701B75
monochromatic
#101906 #2C4310 #4D751B #6EA726 #8ED139

Accessibility & contrast

On white

5.42
#4D751B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#4D751B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D751B
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D751B#FFFFFF#000000##FFFFFF
##4D751B1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C09
Deuteranopia (green-blind)
#756924
Tritanopia (blue-blind)
#4F7064
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4d751b;
/* rgb */ color: rgb(77, 117, 27);
/* oklch */ color: oklch(51.4% 0.125 130.9);
Tailwind
colors: {
  custom: {
    50: '#839d5e',
    500: '#4d751b',
    950: '#000000',
  },
}
SCSS
$custom: #4d751b;
$custom-light: #839d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#4d751b",
  "rgb": {
    "r": 77,
    "g": 117,
    "b": 27
  },
  "hsl": {
    "h": 86.667,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51414,
    "c": 0.12535,
    "h": 130.9
  },
  "luminance": 0.14379
}

Semantic roles & 50–950 ramp

primary
#4D751B
secondary
#7042A9
accent
#42E68B
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4D751B

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

Preview Lab → · Contrast checker → · Palette generator →

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