#4C712B#4C712B

#4C712B is a mid, moderate yellow-green. Relative luminance 0.135; OKLCH L 50.4% C 0.108 H 132.5°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#4C712B
RGBrgb(76, 113, 43)
HSLhsl(92, 45%, 31%)
HSVhsv(92, 62%, 44%)
CMYKcmyk(32.7%, 0%, 61.9%, 55.7%)
CIE-LABlab(43.54, -26.05, 34.00)
CIE-LCHlch(43.54, 42.83, 127.46°)
OKLaboklab(50.44% -0.0727 0.0794)
OKLCHoklch(50.44% 0.108 132.5)
XYZxyz(9.3215, 13.5208, 4.4037)
Luminance0.1352 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C712B #502B71
analogous
#6F712B #4C712B #2B712D
triadic
#4C712B #2B4C71 #712B4C
tetradic
#4C712B #2B6F71 #502B71 #712D2B
square
#4C712B #2B6F71 #502B71 #712D2B
split-complementary
#4C712B #2D2B71 #712B6F
monochromatic
#101809 #2E451A #4C712B #6A9D3C #88BF57

Accessibility & contrast

On white

5.67
#4C712B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#4C712B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C712B
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C712B#FFFFFF#000000##FFFFFF
##4C712B1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766923
Deuteranopia (green-blind)
#706630
Tritanopia (blue-blind)
#4D6D62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4c712b;
/* rgb */ color: rgb(76, 113, 43);
/* oklch */ color: oklch(50.4% 0.108 132.5);
Tailwind
colors: {
  custom: {
    50: '#819a67',
    500: '#4c712b',
    950: '#000000',
  },
}
SCSS
$custom: #4c712b;
$custom-light: #819a67;
$custom-dark: #000000;
JSON
{
  "hex": "#4c712b",
  "rgb": {
    "r": 76,
    "g": 113,
    "b": 43
  },
  "hsl": {
    "h": 91.714,
    "s": 44.872,
    "l": 30.588
  },
  "oklch": {
    "l": 0.50438,
    "c": 0.10761,
    "h": 132.5
  },
  "luminance": 0.13521
}

Semantic roles & 50–950 ramp

primary
#4C712B
secondary
#7E55A3
accent
#53D598
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #4C712B

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

Preview Lab → · Contrast checker → · Palette generator →

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