#4D7412#4D7412

#4D7412 is a mid, vivid yellow-green. Relative luminance 0.141; OKLCH L 51.1% C 0.129 H 129.9°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#4D7412
RGBrgb(77, 116, 18)
HSLhsl(84, 73%, 26%)
HSVhsv(84, 84%, 45%)
CMYKcmyk(33.6%, 0%, 84.5%, 54.5%)
CIE-LABlab(44.39, -28.97, 45.09)
CIE-LCHlch(44.39, 53.59, 122.72°)
OKLaboklab(51.09% -0.0828 0.0989)
OKLCHoklch(51.09% 0.129 129.9)
XYZxyz(9.4151, 14.1119, 2.8000)
Luminance0.1411 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7412 #391274
analogous
#746A12 #4D7412 #1C7412
triadic
#4D7412 #124D74 #74124D
tetradic
#4D7412 #12746A #391274 #74121C
square
#4D7412 #12746A #391274 #74121C
split-complementary
#4D7412 #121C74 #6A1274
monochromatic
#121A04 #2A3F0A #4D7412 #70A91A #93DD23

Accessibility & contrast

On white

5.49
#4D7412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#4D7412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7412
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7412#FFFFFF#000000##FFFFFF
##4D74121.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#74681D
Tritanopia (blue-blind)
#4F6F62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4d7412;
/* rgb */ color: rgb(77, 116, 18);
/* oklch */ color: oklch(51.1% 0.129 129.9);
Tailwind
colors: {
  custom: {
    50: '#839c5a',
    500: '#4d7412',
    950: '#000000',
  },
}
SCSS
$custom: #4d7412;
$custom-light: #839c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7412",
  "rgb": {
    "r": 77,
    "g": 116,
    "b": 18
  },
  "hsl": {
    "h": 83.878,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.5109,
    "c": 0.12901,
    "h": 129.9
  },
  "luminance": 0.14112
}

Semantic roles & 50–950 ramp

primary
#4D7412
secondary
#6537AB
accent
#38F081
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4D7412

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

Preview Lab → · Contrast checker → · Palette generator →

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