#4D661B#4D661B

#4D661B is a mid, moderate yellow-green. Relative luminance 0.112; OKLCH L 47.4% C 0.105 H 126.2°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#4D661B
RGBrgb(77, 102, 27)
HSLhsl(80, 58%, 25%)
HSVhsv(80, 74%, 40%)
CMYKcmyk(24.5%, 0%, 73.5%, 60%)
CIE-LABlab(39.85, -21.51, 37.48)
CIE-LCHlch(39.85, 43.21, 119.86°)
OKLaboklab(47.41% -0.0618 0.0845)
OKLCHoklch(47.41% 0.105 126.2)
XYZxyz(8.0098, 11.1595, 2.7687)
Luminance0.1116 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D661B #341B66
analogous
#66591B #4D661B #27661B
triadic
#4D661B #1B4D66 #661B4D
tetradic
#4D661B #1B6659 #341B66 #661B27
square
#4D661B #1B6659 #341B66 #661B27
split-complementary
#4D661B #1B2766 #591B66
monochromatic
#121806 #28360E #4D661B #729628 #96C735

Accessibility & contrast

On white

6.50
#4D661B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#4D661B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D661B
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D661B#FFFFFF#000000##FFFFFF
##4D661B1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F0F
Deuteranopia (green-blind)
#685D21
Tritanopia (blue-blind)
#506157
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4d661b;
/* rgb */ color: rgb(77, 102, 27);
/* oklch */ color: oklch(47.4% 0.105 126.2);
Tailwind
colors: {
  custom: {
    50: '#81915c',
    500: '#4d661b',
    950: '#000000',
  },
}
SCSS
$custom: #4d661b;
$custom-light: #81915c;
$custom-dark: #000000;
JSON
{
  "hex": "#4d661b",
  "rgb": {
    "r": 77,
    "g": 102,
    "b": 27
  },
  "hsl": {
    "h": 80,
    "s": 58.14,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47413,
    "c": 0.10464,
    "h": 126.2
  },
  "luminance": 0.1116
}

Semantic roles & 50–950 ramp

primary
#4D661B
secondary
#5F419B
accent
#46E17A
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0D04
muted
#7C7D79

Preview Lab

Preview with #4D661B

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

Preview Lab → · Contrast checker → · Palette generator →

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