#4D731B#4D731B

#4D731B is a mid, vivid yellow-green. Relative luminance 0.139; OKLCH L 50.9% C 0.123 H 130.4°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#4D731B
RGBrgb(77, 115, 27)
HSLhsl(86, 62%, 28%)
HSVhsv(86, 77%, 45%)
CMYKcmyk(33%, 0%, 76.5%, 54.9%)
CIE-LABlab(44.12, -27.98, 41.74)
CIE-LCHlch(44.12, 50.26, 123.84°)
OKLaboklab(50.88% -0.0795 0.0934)
OKLCHoklch(50.88% 0.123 130.4)
XYZxyz(9.3891, 13.9181, 3.2285)
Luminance0.1392 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D731B #411B73
analogous
#736D1B #4D731B #21731B
triadic
#4D731B #1B4D73 #731B4D
tetradic
#4D731B #1B736D #411B73 #731B21
square
#4D731B #1B736D #411B73 #731B21
split-complementary
#4D731B #1B2173 #6D1B73
monochromatic
#111906 #2C410F #4D731B #6EA527 #8FD038

Accessibility & contrast

On white

5.55
#4D731B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#4D731B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D731B
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D731B#FFFFFF#000000##FFFFFF
##4D731B1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A0A
Deuteranopia (green-blind)
#736723
Tritanopia (blue-blind)
#4F6E62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4d731b;
/* rgb */ color: rgb(77, 115, 27);
/* oklch */ color: oklch(50.9% 0.123 130.4);
Tailwind
colors: {
  custom: {
    50: '#829b5e',
    500: '#4d731b',
    950: '#000000',
  },
}
SCSS
$custom: #4d731b;
$custom-light: #829b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#4d731b",
  "rgb": {
    "r": 77,
    "g": 115,
    "b": 27
  },
  "hsl": {
    "h": 85.909,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50879,
    "c": 0.12263,
    "h": 130.4
  },
  "luminance": 0.13918
}

Semantic roles & 50–950 ramp

primary
#4D731B
secondary
#6E42A8
accent
#43E589
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4D731B

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

Preview Lab → · Contrast checker → · Palette generator →

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