#4D6010#4D6010

#4D6010 is a mid, moderate yellow-green. Relative luminance 0.100; OKLCH L 45.7% C 0.104 H 122.7°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#4D6010
RGBrgb(77, 96, 16)
HSLhsl(74, 71%, 22%)
HSVhsv(74, 83%, 38%)
CMYKcmyk(19.8%, 0%, 83.3%, 62.4%)
CIE-LABlab(37.81, -19.04, 39.74)
CIE-LCHlch(37.81, 44.06, 115.60°)
OKLaboklab(45.74% -0.056 0.0873)
OKLCHoklch(45.74% 0.104 122.7)
XYZxyz(7.3371, 9.9809, 2.0301)
Luminance0.0998 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6010 #231060
analogous
#604B10 #4D6010 #256010
triadic
#4D6010 #104D60 #60104D
tetradic
#4D6010 #10604B #231060 #601025
square
#4D6010 #10604B #231060 #601025
split-complementary
#4D6010 #102560 #4B1060
monochromatic
#151A04 #232C07 #4D6010 #779419 #A1C921

Accessibility & contrast

On white

7.01
#4D6010 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D6010
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6010#FFFFFF#000000##FFFFFF
##4D60101.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665900
Deuteranopia (green-blind)
#645918
Tritanopia (blue-blind)
#515B51
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4d6010;
/* rgb */ color: rgb(77, 96, 16);
/* oklch */ color: oklch(45.7% 0.104 122.7);
Tailwind
colors: {
  custom: {
    50: '#828d56',
    500: '#4d6010',
    950: '#000000',
  },
}
SCSS
$custom: #4d6010;
$custom-light: #828d56;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6010",
  "rgb": {
    "r": 77,
    "g": 96,
    "b": 16
  },
  "hsl": {
    "h": 74.25,
    "s": 71.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.45739,
    "c": 0.10368,
    "h": 122.7
  },
  "luminance": 0.09981
}

Semantic roles & 50–950 ramp

primary
#4D6010
secondary
#4B3399
accent
#3AEE65
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4D6010

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

Preview Lab → · Contrast checker → · Palette generator →

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