#4C701B#4C701B

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

Color values

HEX#4C701B
RGBrgb(76, 112, 27)
HSLhsl(85, 61%, 27%)
HSVhsv(85, 76%, 44%)
CMYKcmyk(32.1%, 0%, 75.9%, 56.1%)
CIE-LABlab(43.07, -26.94, 40.69)
CIE-LCHlch(43.07, 48.80, 123.51°)
OKLaboklab(50.01% -0.0766 0.0912)
OKLCHoklch(50.01% 0.119 130)
XYZxyz(8.9724, 13.2037, 3.1125)
Luminance0.1320 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C701B #3F1B70
analogous
#706A1B #4C701B #21701B
triadic
#4C701B #1B4C70 #701B4C
tetradic
#4C701B #1B706A #3F1B70 #701B21
square
#4C701B #1B706A #3F1B70 #701B21
split-complementary
#4C701B #1B2170 #6A1B70
monochromatic
#111906 #2B3F0F #4C701B #6DA127 #8ECF37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C701B#FFFFFF#000000##FFFFFF
##4C701B1.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)
#75670B
Deuteranopia (green-blind)
#706523
Tritanopia (blue-blind)
#4E6B5F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4c701b;
/* rgb */ color: rgb(76, 112, 27);
/* oklch */ color: oklch(50.0% 0.119 130.0);
Tailwind
colors: {
  custom: {
    50: '#81995e',
    500: '#4c701b',
    950: '#000000',
  },
}
SCSS
$custom: #4c701b;
$custom-light: #81995e;
$custom-dark: #000000;
JSON
{
  "hex": "#4c701b",
  "rgb": {
    "r": 76,
    "g": 112,
    "b": 27
  },
  "hsl": {
    "h": 85.412,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.50011,
    "c": 0.11909,
    "h": 130
  },
  "luminance": 0.13204
}

Semantic roles & 50–950 ramp

primary
#4C701B
secondary
#6C42A5
accent
#44E488
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4C701B

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

Preview Lab → · Contrast checker → · Palette generator →

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