#4D6016#4D6016

#4D6016 is a mid, moderate yellow-green. Relative luminance 0.100; OKLCH L 45.8% C 0.100 H 123.1°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#4D6016
RGBrgb(77, 96, 22)
HSLhsl(75, 63%, 23%)
HSVhsv(75, 77%, 38%)
CMYKcmyk(19.8%, 0%, 77.1%, 62.4%)
CIE-LABlab(37.84, -18.70, 37.55)
CIE-LCHlch(37.84, 41.95, 116.48°)
OKLaboklab(45.78% -0.0545 0.0838)
OKLCHoklch(45.78% 0.1 123.1)
XYZxyz(7.3883, 10.0014, 2.3001)
Luminance0.1000 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6016 #291660
analogous
#604E16 #4D6016 #286016
triadic
#4D6016 #164D60 #60164D
tetradic
#4D6016 #16604E #291660 #601628
square
#4D6016 #16604E #291660 #601628
split-complementary
#4D6016 #162860 #4E1660
monochromatic
#141906 #252E0B #4D6016 #759221 #9DC42D

Accessibility & contrast

On white

7.00
#4D6016 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#4D6016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6016
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6016#FFFFFF#000000##FFFFFF
##4D60161.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A08
Deuteranopia (green-blind)
#64591C
Tritanopia (blue-blind)
#515B52
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4d6016;
/* rgb */ color: rgb(77, 96, 22);
/* oklch */ color: oklch(45.8% 0.100 123.1);
Tailwind
colors: {
  custom: {
    50: '#818d59',
    500: '#4d6016',
    950: '#000000',
  },
}
SCSS
$custom: #4d6016;
$custom-light: #818d59;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6016",
  "rgb": {
    "r": 77,
    "g": 96,
    "b": 22
  },
  "hsl": {
    "h": 75.405,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.45781,
    "c": 0.09994,
    "h": 123.1
  },
  "luminance": 0.10001
}

Semantic roles & 50–950 ramp

primary
#4D6016
secondary
#523B97
accent
#42E66C
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4D6016

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

Preview Lab → · Contrast checker → · Palette generator →

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