#4C701C#4C701C

#4C701C is a mid, moderate yellow-green. Relative luminance 0.132; OKLCH L 50.0% C 0.118 H 130.1°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#4C701C
RGBrgb(76, 112, 28)
HSLhsl(86, 60%, 27%)
HSVhsv(86, 75%, 44%)
CMYKcmyk(32.1%, 0%, 75%, 56.1%)
CIE-LABlab(43.08, -26.87, 40.30)
CIE-LCHlch(43.08, 48.44, 123.70°)
OKLaboklab(50.02% -0.0763 0.0906)
OKLCHoklch(50.02% 0.118 130.1)
XYZxyz(8.9842, 13.2084, 3.1745)
Luminance0.1321 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C701C #401C70
analogous
#706A1C #4C701C #22701C
triadic
#4C701C #1C4C70 #701C4C
tetradic
#4C701C #1C706A #401C70 #701C22
square
#4C701C #1C706A #401C70 #701C22
split-complementary
#4C701C #1C2270 #6A1C70
monochromatic
#111806 #2B3F10 #4C701C #6DA128 #8ECD39

Accessibility & contrast

On white

5.77
#4C701C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#4C701C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C701C
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C701C#FFFFFF#000000##FFFFFF
##4C701C1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75670D
Deuteranopia (green-blind)
#706524
Tritanopia (blue-blind)
#4E6B60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4c701c;
/* rgb */ color: rgb(76, 112, 28);
/* oklch */ color: oklch(50.0% 0.118 130.1);
Tailwind
colors: {
  custom: {
    50: '#81995e',
    500: '#4c701c',
    950: '#000000',
  },
}
SCSS
$custom: #4c701c;
$custom-light: #81995e;
$custom-dark: #000000;
JSON
{
  "hex": "#4c701c",
  "rgb": {
    "r": 76,
    "g": 112,
    "b": 28
  },
  "hsl": {
    "h": 85.714,
    "s": 60,
    "l": 27.451
  },
  "oklch": {
    "l": 0.50019,
    "c": 0.11841,
    "h": 130.1
  },
  "luminance": 0.13209
}

Semantic roles & 50–950 ramp

primary
#4C701C
secondary
#6D43A5
accent
#45E389
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4C701C

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

Preview Lab → · Contrast checker → · Palette generator →

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