#4D6810#4D6810

#4D6810 is a mid, moderate yellow-green. Relative luminance 0.115; OKLCH L 47.9% C 0.114 H 126.1°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#4D6810
RGBrgb(77, 104, 16)
HSLhsl(78, 73%, 24%)
HSVhsv(78, 85%, 41%)
CMYKcmyk(26%, 0%, 84.6%, 59.2%)
CIE-LABlab(40.44, -23.19, 42.13)
CIE-LCHlch(40.44, 48.09, 118.83°)
OKLaboklab(47.87% -0.0673 0.0923)
OKLCHoklch(47.87% 0.114 126.1)
XYZxyz(8.1045, 11.5157, 2.2859)
Luminance0.1152 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6810 #2B1068
analogous
#685710 #4D6810 #216810
triadic
#4D6810 #104D68 #68104D
tetradic
#4D6810 #106857 #2B1068 #681021
square
#4D6810 #106857 #2B1068 #681021
split-complementary
#4D6810 #102168 #571068
monochromatic
#141B04 #263308 #4D6810 #749D18 #9CD220

Accessibility & contrast

On white

6.36
#4D6810 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#4D6810 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6810
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6810#FFFFFF#000000##FFFFFF
##4D68101.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#6A5F1A
Tritanopia (blue-blind)
#516358
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4d6810;
/* rgb */ color: rgb(77, 104, 16);
/* oklch */ color: oklch(47.9% 0.114 126.1);
Tailwind
colors: {
  custom: {
    50: '#829357',
    500: '#4d6810',
    950: '#000000',
  },
}
SCSS
$custom: #4d6810;
$custom-light: #829357;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6810",
  "rgb": {
    "r": 77,
    "g": 104,
    "b": 16
  },
  "hsl": {
    "h": 78.409,
    "s": 73.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.47868,
    "c": 0.11425,
    "h": 126.1
  },
  "luminance": 0.11516
}

Semantic roles & 50–950 ramp

primary
#4D6810
secondary
#5534A0
accent
#38F070
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4D6810

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

Preview Lab → · Contrast checker → · Palette generator →

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