#4D7B14#4D7B14

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

Color values

HEX#4D7B14
RGBrgb(77, 123, 20)
HSLhsl(87, 72%, 28%)
HSVhsv(87, 84%, 48%)
CMYKcmyk(37.4%, 0%, 83.7%, 51.8%)
CIE-LABlab(46.70, -32.12, 46.59)
CIE-LCHlch(46.70, 56.59, 124.59°)
OKLaboklab(52.98% -0.0912 0.1024)
OKLCHoklch(52.98% 0.137 131.7)
XYZxyz(10.2697, 15.7938, 3.1691)
Luminance0.1579 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7B14 #42147B
analogous
#7B7514 #4D7B14 #197B14
triadic
#4D7B14 #144D7B #7B144D
tetradic
#4D7B14 #147B75 #42147B #7B1419
square
#4D7B14 #147B75 #42147B #7B1419
split-complementary
#4D7B14 #14197B #75147B
monochromatic
#101A04 #2C460B #4D7B14 #6EB01D #8EDD2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D7B14#FFFFFF#000000##FFFFFF
##4D7B141.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)
#7A6D20
Tritanopia (blue-blind)
#4E7668
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4d7b14;
/* rgb */ color: rgb(77, 123, 20);
/* oklch */ color: oklch(53.0% 0.137 131.7);
Tailwind
colors: {
  custom: {
    50: '#83a15c',
    500: '#4d7b14',
    950: '#000000',
  },
}
SCSS
$custom: #4d7b14;
$custom-light: #83a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7b14",
  "rgb": {
    "r": 77,
    "g": 123,
    "b": 20
  },
  "hsl": {
    "h": 86.796,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52978,
    "c": 0.13713,
    "h": 131.7
  },
  "luminance": 0.15794
}

Semantic roles & 50–950 ramp

primary
#4D7B14
secondary
#6F3AB1
accent
#39EF8A
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0F04
muted
#7C7E79

Preview Lab

Preview with #4D7B14

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

Preview Lab → · Contrast checker → · Palette generator →

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