#4C701F#4C701F

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

Color values

HEX#4C701F
RGBrgb(76, 112, 31)
HSLhsl(87, 57%, 28%)
HSVhsv(87, 72%, 44%)
CMYKcmyk(32.1%, 0%, 72.3%, 56.1%)
CIE-LABlab(43.10, -26.65, 39.08)
CIE-LCHlch(43.10, 47.30, 124.29°)
OKLaboklab(50.04% -0.0754 0.0885)
OKLCHoklch(50.04% 0.116 130.4)
XYZxyz(9.0219, 13.2235, 3.3731)
Luminance0.1322 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C701F #431F70
analogous
#706B1F #4C701F #23701F
triadic
#4C701F #1F4C70 #701F4C
tetradic
#4C701F #1F706B #431F70 #701F23
square
#4C701F #1F706B #431F70 #701F23
split-complementary
#4C701F #1F2370 #6B1F70
monochromatic
#101807 #2B4012 #4C701F #6DA02C #8CCA3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C701F#FFFFFF#000000##FFFFFF
##4C701F1.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)
#756813
Deuteranopia (green-blind)
#706526
Tritanopia (blue-blind)
#4E6B60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4c701f;
/* rgb */ color: rgb(76, 112, 31);
/* oklch */ color: oklch(50.0% 0.116 130.4);
Tailwind
colors: {
  custom: {
    50: '#819960',
    500: '#4c701f',
    950: '#000000',
  },
}
SCSS
$custom: #4c701f;
$custom-light: #819960;
$custom-dark: #000000;
JSON
{
  "hex": "#4c701f",
  "rgb": {
    "r": 76,
    "g": 112,
    "b": 31
  },
  "hsl": {
    "h": 86.667,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50045,
    "c": 0.11626,
    "h": 130.4
  },
  "luminance": 0.13224
}

Semantic roles & 50–950 ramp

primary
#4C701F
secondary
#7047A4
accent
#48E08B
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4C701F

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

Preview Lab → · Contrast checker → · Palette generator →

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