#4C620F#4C620F

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

Color values

HEX#4C620F
RGBrgb(76, 98, 15)
HSLhsl(76, 73%, 22%)
HSVhsv(76, 85%, 38%)
CMYKcmyk(22.4%, 0%, 84.7%, 61.6%)
CIE-LABlab(38.39, -20.59, 40.57)
CIE-LCHlch(38.39, 45.50, 116.91°)
OKLaboklab(46.19% -0.0603 0.0889)
OKLCHoklch(46.19% 0.107 124.1)
XYZxyz(7.4345, 10.3063, 2.0495)
Luminance0.1031 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C620F #250F62
analogous
#624F0F #4C620F #22620F
triadic
#4C620F #0F4C62 #620F4C
tetradic
#4C620F #0F624F #250F62 #620F22
square
#4C620F #0F624F #250F62 #620F22
split-complementary
#4C620F #0F2262 #4F0F62
monochromatic
#151B04 #232D07 #4C620F #759717 #9ECC1F

Accessibility & contrast

On white

6.86
#4C620F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#4C620F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C620F
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C620F#FFFFFF#000000##FFFFFF
##4C620F1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c620f;
/* rgb */ color: rgb(76, 98, 15);
/* oklch */ color: oklch(46.2% 0.107 124.1);
Tailwind
colors: {
  custom: {
    50: '#818e56',
    500: '#4c620f',
    950: '#000000',
  },
}
SCSS
$custom: #4c620f;
$custom-light: #818e56;
$custom-dark: #000000;
JSON
{
  "hex": "#4c620f",
  "rgb": {
    "r": 76,
    "g": 98,
    "b": 15
  },
  "hsl": {
    "h": 75.904,
    "s": 73.451,
    "l": 22.157
  },
  "oklch": {
    "l": 0.46187,
    "c": 0.10737,
    "h": 124.1
  },
  "luminance": 0.10306
}

Semantic roles & 50–950 ramp

primary
#4C620F
secondary
#4E329B
accent
#38F069
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4C620F

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

Preview Lab → · Contrast checker → · Palette generator →

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