#4D6022#4D6022

#4D6022 is a mid, moderate yellow-green. Relative luminance 0.101; OKLCH L 45.9% C 0.090 H 124.3°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#4D6022
RGBrgb(77, 96, 34)
HSLhsl(78, 48%, 25%)
HSVhsv(78, 65%, 38%)
CMYKcmyk(19.8%, 0%, 64.6%, 62.4%)
CIE-LABlab(37.95, -17.77, 32.22)
CIE-LCHlch(37.95, 36.80, 118.88°)
OKLaboklab(45.9% -0.0507 0.0744)
OKLCHoklch(45.9% 0.09 124.3)
XYZxyz(7.5322, 10.0590, 3.0578)
Luminance0.1006 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6022 #352260
analogous
#605422 #4D6022 #2E6022
triadic
#4D6022 #224D60 #60224D
tetradic
#4D6022 #226054 #352260 #60222E
square
#4D6022 #226054 #352260 #60222E
split-complementary
#4D6022 #222E60 #542260
monochromatic
#121708 #293312 #4D6022 #718D32 #95BA42

Accessibility & contrast

On white

6.97
#4D6022 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4D6022 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6022
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6022#FFFFFF#000000##FFFFFF
##4D60221.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655A1B
Deuteranopia (green-blind)
#635926
Tritanopia (blue-blind)
#515B53
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4d6022;
/* rgb */ color: rgb(77, 96, 34);
/* oklch */ color: oklch(45.9% 0.090 124.3);
Tailwind
colors: {
  custom: {
    50: '#818d60',
    500: '#4d6022',
    950: '#000000',
  },
}
SCSS
$custom: #4d6022;
$custom-light: #818d60;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6022",
  "rgb": {
    "r": 77,
    "g": 96,
    "b": 34
  },
  "hsl": {
    "h": 78.387,
    "s": 47.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.45897,
    "c": 0.09009,
    "h": 124.3
  },
  "luminance": 0.10059
}

Semantic roles & 50–950 ramp

primary
#4D6022
secondary
#614A94
accent
#51D77A
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0A0C05
muted
#7C7D79

Preview Lab

Preview with #4D6022

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

Preview Lab → · Contrast checker → · Palette generator →

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