#4D6217#4D6217

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

Color values

HEX#4D6217
RGBrgb(77, 98, 23)
HSLhsl(77, 62%, 24%)
HSVhsv(77, 77%, 38%)
CMYKcmyk(21.4%, 0%, 76.5%, 61.6%)
CIE-LABlab(38.51, -19.70, 37.80)
CIE-LCHlch(38.51, 42.62, 117.53°)
OKLaboklab(46.32% -0.0572 0.0845)
OKLCHoklch(46.32% 0.102 124.1)
XYZxyz(7.5830, 10.3749, 2.4135)
Luminance0.1037 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6217 #2C1762
analogous
#625117 #4D6217 #276217
triadic
#4D6217 #174D62 #62174D
tetradic
#4D6217 #176251 #2C1762 #621727
square
#4D6217 #176251 #2C1762 #621727
split-complementary
#4D6217 #172762 #511762
monochromatic
#131906 #26300B #4D6217 #749423 #9BC52E

Accessibility & contrast

On white

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

On black

3.08
#4D6217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4D6217#FFFFFF#000000##FFFFFF
##4D62171.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d6217;
/* rgb */ color: rgb(77, 98, 23);
/* oklch */ color: oklch(46.3% 0.102 124.1);
Tailwind
colors: {
  custom: {
    50: '#818e5a',
    500: '#4d6217',
    950: '#000000',
  },
}
SCSS
$custom: #4d6217;
$custom-light: #818e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6217",
  "rgb": {
    "r": 77,
    "g": 98,
    "b": 23
  },
  "hsl": {
    "h": 76.8,
    "s": 61.983,
    "l": 23.725
  },
  "oklch": {
    "l": 0.46318,
    "c": 0.10199,
    "h": 124.1
  },
  "luminance": 0.10375
}

Semantic roles & 50–950 ramp

primary
#4D6217
secondary
#563C99
accent
#43E570
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4D6217

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

Preview Lab → · Contrast checker → · Palette generator →

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