#4D6215#4D6215

#4D6215 is a mid, moderate yellow-green. Relative luminance 0.104; OKLCH L 46.3% C 0.103 H 123.9°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#4D6215
RGBrgb(77, 98, 21)
HSLhsl(76, 65%, 23%)
HSVhsv(76, 79%, 38%)
CMYKcmyk(21.4%, 0%, 78.6%, 61.6%)
CIE-LABlab(38.49, -19.82, 38.57)
CIE-LCHlch(38.49, 43.37, 117.20°)
OKLaboklab(46.3% -0.0577 0.0857)
OKLCHoklch(46.3% 0.103 123.9)
XYZxyz(7.5637, 10.3672, 2.3119)
Luminance0.1037 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6215 #2A1562
analogous
#625015 #4D6215 #266215
triadic
#4D6215 #154D62 #62154D
tetradic
#4D6215 #156250 #2A1562 #621526
square
#4D6215 #156250 #2A1562 #621526
split-complementary
#4D6215 #152662 #501562
monochromatic
#141905 #25300A #4D6215 #759420 #9CC72B

Accessibility & contrast

On white

6.83
#4D6215 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#4D6215 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6215
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6215#FFFFFF#000000##FFFFFF
##4D62151.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B06
Deuteranopia (green-blind)
#655A1C
Tritanopia (blue-blind)
#515D53
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4d6215;
/* rgb */ color: rgb(77, 98, 21);
/* oklch */ color: oklch(46.3% 0.103 123.9);
Tailwind
colors: {
  custom: {
    50: '#818e59',
    500: '#4d6215',
    950: '#000000',
  },
}
SCSS
$custom: #4d6215;
$custom-light: #818e59;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6215",
  "rgb": {
    "r": 77,
    "g": 98,
    "b": 21
  },
  "hsl": {
    "h": 76.364,
    "s": 64.706,
    "l": 23.333
  },
  "oklch": {
    "l": 0.46303,
    "c": 0.10334,
    "h": 123.9
  },
  "luminance": 0.10367
}

Semantic roles & 50–950 ramp

primary
#4D6215
secondary
#543A99
accent
#40E86E
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4D6215

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

Preview Lab → · Contrast checker → · Palette generator →

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