#4D6712#4D6712

#4D6712 is a mid, moderate yellow-green. Relative luminance 0.113; OKLCH L 47.6% C 0.112 H 125.8°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#4D6712
RGBrgb(77, 103, 18)
HSLhsl(78, 70%, 24%)
HSVhsv(78, 83%, 40%)
CMYKcmyk(25.2%, 0%, 82.5%, 59.6%)
CIE-LABlab(40.12, -22.58, 41.19)
CIE-LCHlch(40.12, 46.97, 118.73°)
OKLaboklab(47.61% -0.0655 0.0907)
OKLCHoklch(47.61% 0.112 125.8)
XYZxyz(8.0201, 11.3218, 2.3349)
Luminance0.1132 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6712 #2C1267
analogous
#675612 #4D6712 #226712
triadic
#4D6712 #124D67 #67124D
tetradic
#4D6712 #126756 #2C1267 #671222
square
#4D6712 #126756 #2C1267 #671222
split-complementary
#4D6712 #122267 #561267
monochromatic
#131A05 #263309 #4D6712 #749B1B #9BCF24

Accessibility & contrast

On white

6.43
#4D6712 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#4D6712 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6712
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6712#FFFFFF#000000##FFFFFF
##4D67121.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6000
Deuteranopia (green-blind)
#695E1B
Tritanopia (blue-blind)
#516257
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4d6712;
/* rgb */ color: rgb(77, 103, 18);
/* oklch */ color: oklch(47.6% 0.112 125.8);
Tailwind
colors: {
  custom: {
    50: '#829258',
    500: '#4d6712',
    950: '#000000',
  },
}
SCSS
$custom: #4d6712;
$custom-light: #829258;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6712",
  "rgb": {
    "r": 77,
    "g": 103,
    "b": 18
  },
  "hsl": {
    "h": 78.353,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.47613,
    "c": 0.11187,
    "h": 125.8
  },
  "luminance": 0.11322
}

Semantic roles & 50–950 ramp

primary
#4D6712
secondary
#56369F
accent
#3BED71
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4D6712

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

Preview Lab → · Contrast checker → · Palette generator →

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