#4D7B16#4D7B16

#4D7B16 is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 53.0% C 0.136 H 131.8°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#4D7B16
RGBrgb(77, 123, 22)
HSLhsl(87, 70%, 28%)
HSVhsv(87, 82%, 48%)
CMYKcmyk(37.4%, 0%, 82.1%, 51.8%)
CIE-LABlab(46.71, -32.02, 45.98)
CIE-LCHlch(46.71, 56.03, 124.86°)
OKLaboklab(52.99% -0.0908 0.1015)
OKLCHoklch(52.99% 0.136 131.8)
XYZxyz(10.2882, 15.8012, 3.2668)
Luminance0.1580 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7B16 #44167B
analogous
#7B7616 #4D7B16 #1A7B16
triadic
#4D7B16 #164D7B #7B164D
tetradic
#4D7B16 #167B76 #44167B #7B161A
square
#4D7B16 #167B76 #44167B #7B161A
split-complementary
#4D7B16 #161A7B #76167B
monochromatic
#101A05 #2C470D #4D7B16 #6DAF1F #8DDA31

Accessibility & contrast

On white

5.05
#4D7B16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#4D7B16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7B16
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7B16#FFFFFF#000000##FFFFFF
##4D7B161.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#7A6D21
Tritanopia (blue-blind)
#4E7668
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4d7b16;
/* rgb */ color: rgb(77, 123, 22);
/* oklch */ color: oklch(53.0% 0.136 131.8);
Tailwind
colors: {
  custom: {
    50: '#83a15d',
    500: '#4d7b16',
    950: '#000000',
  },
}
SCSS
$custom: #4d7b16;
$custom-light: #83a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7b16",
  "rgb": {
    "r": 77,
    "g": 123,
    "b": 22
  },
  "hsl": {
    "h": 87.327,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52989,
    "c": 0.13614,
    "h": 131.8
  },
  "luminance": 0.15802
}

Semantic roles & 50–950 ramp

primary
#4D7B16
secondary
#713DB0
accent
#3BEC8C
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #4D7B16

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

Preview Lab → · Contrast checker → · Palette generator →

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