#4D7213#4D7213

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

Color values

HEX#4D7213
RGBrgb(77, 114, 19)
HSLhsl(83, 71%, 26%)
HSVhsv(83, 83%, 45%)
CMYKcmyk(32.5%, 0%, 83.3%, 55.3%)
CIE-LABlab(43.74, -27.97, 44.19)
CIE-LCHlch(43.74, 52.30, 122.33°)
OKLaboklab(50.56% -0.08 0.0972)
OKLCHoklch(50.56% 0.126 129.5)
XYZxyz(9.1954, 13.6591, 2.7680)
Luminance0.1366 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7213 #381372
analogous
#726713 #4D7213 #1D7213
triadic
#4D7213 #134D72 #72134D
tetradic
#4D7213 #137267 #381372 #72131D
square
#4D7213 #137267 #381372 #72131D
split-complementary
#4D7213 #131D72 #671372
monochromatic
#121A04 #2A3E0A #4D7213 #70A61C #94DB25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D7213#FFFFFF#000000##FFFFFF
##4D72131.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: #4d7213;
/* rgb */ color: rgb(77, 114, 19);
/* oklch */ color: oklch(50.6% 0.126 129.5);
Tailwind
colors: {
  custom: {
    50: '#839a5a',
    500: '#4d7213',
    950: '#000000',
  },
}
SCSS
$custom: #4d7213;
$custom-light: #839a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7213",
  "rgb": {
    "r": 77,
    "g": 114,
    "b": 19
  },
  "hsl": {
    "h": 83.368,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.50559,
    "c": 0.12591,
    "h": 129.5
  },
  "luminance": 0.13659
}

Semantic roles & 50–950 ramp

primary
#4D7213
secondary
#6438A9
accent
#3AEE80
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4D7213

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

Preview Lab → · Contrast checker → · Palette generator →

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