#4D7214#4D7214

#4D7214 is a mid, vivid yellow-green. Relative luminance 0.137; OKLCH L 50.6% C 0.125 H 129.5°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#4D7214
RGBrgb(77, 114, 20)
HSLhsl(84, 70%, 26%)
HSVhsv(84, 82%, 45%)
CMYKcmyk(32.5%, 0%, 82.5%, 55.3%)
CIE-LABlab(43.75, -27.92, 43.88)
CIE-LCHlch(43.75, 52.01, 122.46°)
OKLaboklab(50.57% -0.0798 0.0967)
OKLCHoklch(50.57% 0.125 129.5)
XYZxyz(9.2041, 13.6626, 2.8139)
Luminance0.1366 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7214 #391472
analogous
#726814 #4D7214 #1E7214
triadic
#4D7214 #144D72 #72144D
tetradic
#4D7214 #147268 #391472 #72141E
square
#4D7214 #147268 #391472 #72141E
split-complementary
#4D7214 #141E72 #681472
monochromatic
#121A05 #2A3E0B #4D7214 #70A61D #93D927

Accessibility & contrast

On white

5.63
#4D7214 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#4D7214 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7214
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7214#FFFFFF#000000##FFFFFF
##4D72141.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#73671E
Tritanopia (blue-blind)
#4F6D61
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4d7214;
/* rgb */ color: rgb(77, 114, 20);
/* oklch */ color: oklch(50.6% 0.125 129.5);
Tailwind
colors: {
  custom: {
    50: '#839a5b',
    500: '#4d7214',
    950: '#000000',
  },
}
SCSS
$custom: #4d7214;
$custom-light: #839a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7214",
  "rgb": {
    "r": 77,
    "g": 114,
    "b": 20
  },
  "hsl": {
    "h": 83.617,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50565,
    "c": 0.12539,
    "h": 129.5
  },
  "luminance": 0.13663
}

Semantic roles & 50–950 ramp

primary
#4D7214
secondary
#6539A8
accent
#3BED81
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4D7214

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

Preview Lab → · Contrast checker → · Palette generator →

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