#4D8310#4D8310

#4D8310 is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 55.1% C 0.149 H 133.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#4D8310
RGBrgb(77, 131, 16)
HSLhsl(88, 78%, 29%)
HSVhsv(88, 88%, 51%)
CMYKcmyk(41.2%, 0%, 87.8%, 48.6%)
CIE-LABlab(49.31, -35.87, 49.99)
CIE-LCHlch(49.31, 61.53, 125.66°)
OKLaboklab(55.11% -0.1015 0.109)
OKLCHoklch(55.11% 0.149 133)
XYZxyz(11.2702, 17.8472, 3.3411)
Luminance0.1785 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8310 #461083
analogous
#838010 #4D8310 #148310
triadic
#4D8310 #104D83 #83104D
tetradic
#4D8310 #108380 #461083 #831014
square
#4D8310 #108380 #461083 #831014
split-complementary
#4D8310 #101483 #801083
monochromatic
#101B03 #2D4C09 #4D8310 #6DBA17 #8CE529

Accessibility & contrast

On white

4.60
#4D8310 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#4D8310 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4D8310
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8310#FFFFFF#000000##FFFFFF
##4D83101.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#82741F
Tritanopia (blue-blind)
#4D7D6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4d8310;
/* rgb */ color: rgb(77, 131, 16);
/* oklch */ color: oklch(55.1% 0.149 133.0);
Tailwind
colors: {
  custom: {
    50: '#84a75c',
    500: '#4d8310',
    950: '#000000',
  },
}
SCSS
$custom: #4d8310;
$custom-light: #84a75c;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8310",
  "rgb": {
    "r": 77,
    "g": 131,
    "b": 16
  },
  "hsl": {
    "h": 88.174,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.55106,
    "c": 0.14891,
    "h": 133
  },
  "luminance": 0.17848
}

Semantic roles & 50–950 ramp

primary
#4D8310
secondary
#7336B9
accent
#33F58E
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4D8310

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

Preview Lab → · Contrast checker → · Palette generator →

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