#4D7010#4D7010

#4D7010 is a mid, vivid yellow-green. Relative luminance 0.132; OKLCH L 50.0% C 0.125 H 128.7°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#4D7010
RGBrgb(77, 112, 16)
HSLhsl(82, 75%, 25%)
HSVhsv(82, 86%, 44%)
CMYKcmyk(31.2%, 0%, 85.7%, 56.1%)
CIE-LABlab(43.07, -27.14, 44.49)
CIE-LCHlch(43.07, 52.12, 121.39°)
OKLaboklab(50.01% -0.078 0.0973)
OKLCHoklch(50.01% 0.125 128.7)
XYZxyz(8.9483, 13.2033, 2.5671)
Luminance0.1320 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7010 #331070
analogous
#706310 #4D7010 #1D7010
triadic
#4D7010 #104D70 #70104D
tetradic
#4D7010 #107063 #331070 #70101D
square
#4D7010 #107063 #331070 #70101D
split-complementary
#4D7010 #101D70 #631070
monochromatic
#121B04 #283A08 #4D7010 #72A618 #97DB1F

Accessibility & contrast

On white

5.77
#4D7010 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#4D7010 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7010
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7010#FFFFFF#000000##FFFFFF
##4D70101.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#71651B
Tritanopia (blue-blind)
#506B5F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4d7010;
/* rgb */ color: rgb(77, 112, 16);
/* oklch */ color: oklch(50.0% 0.125 128.7);
Tailwind
colors: {
  custom: {
    50: '#839959',
    500: '#4d7010',
    950: '#000000',
  },
}
SCSS
$custom: #4d7010;
$custom-light: #839959;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7010",
  "rgb": {
    "r": 77,
    "g": 112,
    "b": 16
  },
  "hsl": {
    "h": 81.875,
    "s": 75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.50007,
    "c": 0.12473,
    "h": 128.7
  },
  "luminance": 0.13204
}

Semantic roles & 50–950 ramp

primary
#4D7010
secondary
#5E34A8
accent
#36F27B
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4D7010

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

Preview Lab → · Contrast checker → · Palette generator →

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