#4D6B15#4D6B15

#4D6B15 is a mid, moderate yellow-green. Relative luminance 0.121; OKLCH L 48.7% C 0.116 H 127.5°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#4D6B15
RGBrgb(77, 107, 21)
HSLhsl(81, 67%, 25%)
HSVhsv(81, 80%, 42%)
CMYKcmyk(28%, 0%, 80.4%, 58%)
CIE-LABlab(41.45, -24.44, 41.39)
CIE-LCHlch(41.45, 48.07, 120.56°)
OKLaboklab(48.7% -0.0703 0.0917)
OKLCHoklch(48.7% 0.116 127.5)
XYZxyz(8.4536, 12.1471, 2.6086)
Luminance0.1215 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6B15 #33156B
analogous
#6B5E15 #4D6B15 #226B15
triadic
#4D6B15 #154D6B #6B154D
tetradic
#4D6B15 #156B5E #33156B #6B1522
square
#4D6B15 #156B5E #33156B #6B1522
split-complementary
#4D6B15 #15226B #5E156B
monochromatic
#121A05 #28380B #4D6B15 #729E1F #97D129

Accessibility & contrast

On white

6.12
#4D6B15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#4D6B15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6B15
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6B15#FFFFFF#000000##FFFFFF
##4D6B151.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716302
Deuteranopia (green-blind)
#6D611E
Tritanopia (blue-blind)
#50665B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4d6b15;
/* rgb */ color: rgb(77, 107, 21);
/* oklch */ color: oklch(48.7% 0.116 127.5);
Tailwind
colors: {
  custom: {
    50: '#82955a',
    500: '#4d6b15',
    950: '#000000',
  },
}
SCSS
$custom: #4d6b15;
$custom-light: #82955a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6b15",
  "rgb": {
    "r": 77,
    "g": 107,
    "b": 21
  },
  "hsl": {
    "h": 80.93,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.48699,
    "c": 0.11551,
    "h": 127.5
  },
  "luminance": 0.12147
}

Semantic roles & 50–950 ramp

primary
#4D6B15
secondary
#5E3AA2
accent
#3EEA7A
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4D6B15

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

Preview Lab → · Contrast checker → · Palette generator →

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