#4C701E#4C701E

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

Color values

HEX#4C701E
RGBrgb(76, 112, 30)
HSLhsl(86, 58%, 28%)
HSVhsv(86, 73%, 44%)
CMYKcmyk(32.1%, 0%, 73.2%, 56.1%)
CIE-LABlab(43.09, -26.73, 39.49)
CIE-LCHlch(43.09, 47.69, 124.09°)
OKLaboklab(50.04% -0.0757 0.0892)
OKLCHoklch(50.04% 0.117 130.3)
XYZxyz(9.0089, 13.2183, 3.3048)
Luminance0.1322 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C701E #421E70
analogous
#706B1E #4C701E #23701E
triadic
#4C701E #1E4C70 #701E4C
tetradic
#4C701E #1E706B #421E70 #701E23
square
#4C701E #1E706B #421E70 #701E23
split-complementary
#4C701E #1E2370 #6B1E70
monochromatic
#101806 #2B4011 #4C701E #6DA02B #8DCB3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C701E#FFFFFF#000000##FFFFFF
##4C701E1.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)
#756711
Deuteranopia (green-blind)
#706525
Tritanopia (blue-blind)
#4E6B60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4c701e;
/* rgb */ color: rgb(76, 112, 30);
/* oklch */ color: oklch(50.0% 0.117 130.3);
Tailwind
colors: {
  custom: {
    50: '#81995f',
    500: '#4c701e',
    950: '#000000',
  },
}
SCSS
$custom: #4c701e;
$custom-light: #81995f;
$custom-dark: #000000;
JSON
{
  "hex": "#4c701e",
  "rgb": {
    "r": 76,
    "g": 112,
    "b": 30
  },
  "hsl": {
    "h": 86.341,
    "s": 57.746,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50036,
    "c": 0.117,
    "h": 130.3
  },
  "luminance": 0.13219
}

Semantic roles & 50–950 ramp

primary
#4C701E
secondary
#6F46A4
accent
#47E18A
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4C701E

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

Preview Lab → · Contrast checker → · Palette generator →

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