#4D620F#4D620F

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

Color values

HEX#4D620F
RGBrgb(77, 98, 15)
HSLhsl(75, 73%, 22%)
HSVhsv(75, 85%, 38%)
CMYKcmyk(21.4%, 0%, 84.7%, 61.6%)
CIE-LABlab(38.46, -20.14, 40.66)
CIE-LCHlch(38.46, 45.38, 116.35°)
OKLaboklab(46.26% -0.0591 0.089)
OKLCHoklch(46.26% 0.107 123.6)
XYZxyz(7.5146, 10.3476, 2.0532)
Luminance0.1035 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D620F #240F62
analogous
#624E0F #4D620F #23620F
triadic
#4D620F #0F4D62 #620F4D
tetradic
#4D620F #0F624E #240F62 #620F23
square
#4D620F #0F624E #240F62 #620F23
split-complementary
#4D620F #0F2362 #4E0F62
monochromatic
#151B04 #232D07 #4D620F #779717 #A0CC1F

Accessibility & contrast

On white

6.84
#4D620F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4D620F
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D620F#FFFFFF#000000##FFFFFF
##4D620F1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d620f;
/* rgb */ color: rgb(77, 98, 15);
/* oklch */ color: oklch(46.3% 0.107 123.6);
Tailwind
colors: {
  custom: {
    50: '#828e56',
    500: '#4d620f',
    950: '#000000',
  },
}
SCSS
$custom: #4d620f;
$custom-light: #828e56;
$custom-dark: #000000;
JSON
{
  "hex": "#4d620f",
  "rgb": {
    "r": 77,
    "g": 98,
    "b": 15
  },
  "hsl": {
    "h": 75.181,
    "s": 73.451,
    "l": 22.157
  },
  "oklch": {
    "l": 0.46264,
    "c": 0.10685,
    "h": 123.6
  },
  "luminance": 0.10348
}

Semantic roles & 50–950 ramp

primary
#4D620F
secondary
#4C329B
accent
#38F066
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4D620F

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

Preview Lab → · Contrast checker → · Palette generator →

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