#4C701D#4C701D

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

Color values

HEX#4C701D
RGBrgb(76, 112, 29)
HSLhsl(86, 59%, 28%)
HSVhsv(86, 74%, 44%)
CMYKcmyk(32.1%, 0%, 74.1%, 56.1%)
CIE-LABlab(43.08, -26.80, 39.90)
CIE-LCHlch(43.08, 48.07, 123.89°)
OKLaboklab(50.03% -0.076 0.0899)
OKLCHoklch(50.03% 0.118 130.2)
XYZxyz(8.9964, 13.2133, 3.2386)
Luminance0.1321 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C701D #411D70
analogous
#706A1D #4C701D #23701D
triadic
#4C701D #1D4C70 #701D4C
tetradic
#4C701D #1D706A #411D70 #701D23
square
#4C701D #1D706A #411D70 #701D23
split-complementary
#4C701D #1D2370 #6A1D70
monochromatic
#101806 #2B3F10 #4C701D #6DA12A #8DCC3B

Accessibility & contrast

On white

5.76
#4C701D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4C701D
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C701D#FFFFFF#000000##FFFFFF
##4C701D1.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c701d;
/* rgb */ color: rgb(76, 112, 29);
/* oklch */ color: oklch(50.0% 0.118 130.2);
Tailwind
colors: {
  custom: {
    50: '#81995f',
    500: '#4c701d',
    950: '#000000',
  },
}
SCSS
$custom: #4c701d;
$custom-light: #81995f;
$custom-dark: #000000;
JSON
{
  "hex": "#4c701d",
  "rgb": {
    "r": 76,
    "g": 112,
    "b": 29
  },
  "hsl": {
    "h": 86.024,
    "s": 58.865,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50027,
    "c": 0.11771,
    "h": 130.2
  },
  "luminance": 0.13214
}

Semantic roles & 50–950 ramp

primary
#4C701D
secondary
#6E44A4
accent
#46E28A
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4C701D

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

Preview Lab → · Contrast checker → · Palette generator →

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