#4D7612#4D7612

#4D7612 is a mid, vivid yellow-green. Relative luminance 0.146; OKLCH L 51.6% C 0.132 H 130.4°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#4D7612
RGBrgb(77, 118, 18)
HSLhsl(85, 74%, 27%)
HSVhsv(85, 85%, 46%)
CMYKcmyk(34.7%, 0%, 84.7%, 53.7%)
CIE-LABlab(45.05, -29.91, 45.69)
CIE-LCHlch(45.05, 54.61, 123.21°)
OKLaboklab(51.63% -0.0853 0.1002)
OKLCHoklch(51.63% 0.132 130.4)
XYZxyz(9.6481, 14.5780, 2.8776)
Luminance0.1458 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7612 #3B1276
analogous
#766D12 #4D7612 #1B7612
triadic
#4D7612 #124D76 #76124D
tetradic
#4D7612 #12766D #3B1276 #76121B
square
#4D7612 #12766D #3B1276 #76121B
split-complementary
#4D7612 #121B76 #6D1276
monochromatic
#111B04 #2A410A #4D7612 #70AB1A #92DE25

Accessibility & contrast

On white

5.36
#4D7612 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#4D7612 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7612
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7612#FFFFFF#000000##FFFFFF
##4D76121.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#766A1E
Tritanopia (blue-blind)
#4F7164
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4d7612;
/* rgb */ color: rgb(77, 118, 18);
/* oklch */ color: oklch(51.6% 0.132 130.4);
Tailwind
colors: {
  custom: {
    50: '#839e5b',
    500: '#4d7612',
    950: '#000000',
  },
}
SCSS
$custom: #4d7612;
$custom-light: #839e5b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7612",
  "rgb": {
    "r": 77,
    "g": 118,
    "b": 18
  },
  "hsl": {
    "h": 84.6,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.51626,
    "c": 0.1316,
    "h": 130.4
  },
  "luminance": 0.14578
}

Semantic roles & 50–950 ramp

primary
#4D7612
secondary
#6737AD
accent
#38F083
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4D7612

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

Preview Lab → · Contrast checker → · Palette generator →

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