#4C7723#4C7723

#4C7723 is a mid, vivid yellow-green. Relative luminance 0.149; OKLCH L 52.0% C 0.123 H 132.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#4C7723
RGBrgb(76, 119, 35)
HSLhsl(91, 55%, 30%)
HSVhsv(91, 71%, 47%)
CMYKcmyk(36.1%, 0%, 70.6%, 53.3%)
CIE-LABlab(45.43, -29.68, 39.79)
CIE-LCHlch(45.43, 49.64, 126.73°)
OKLaboklab(51.95% -0.0833 0.0906)
OKLCHoklch(51.95% 0.123 132.6)
XYZxyz(9.8806, 14.8511, 3.9357)
Luminance0.1485 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7723 #4E2377
analogous
#767723 #4C7723 #237724
triadic
#4C7723 #234C77 #77234C
tetradic
#4C7723 #237677 #4E2377 #772423
square
#4C7723 #237677 #4E2377 #772423
split-complementary
#4C7723 #242377 #772376
monochromatic
#101807 #2E4815 #4C7723 #6AA631 #89CA4A

Accessibility & contrast

On white

5.29
#4C7723 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#4C7723 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C7723
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7723#FFFFFF#000000##FFFFFF
##4C77231.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E17
Deuteranopia (green-blind)
#766A2A
Tritanopia (blue-blind)
#4D7266
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4c7723;
/* rgb */ color: rgb(76, 119, 35);
/* oklch */ color: oklch(52.0% 0.123 132.6);
Tailwind
colors: {
  custom: {
    50: '#829e63',
    500: '#4c7723',
    950: '#000000',
  },
}
SCSS
$custom: #4c7723;
$custom-light: #829e63;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7723",
  "rgb": {
    "r": 76,
    "g": 119,
    "b": 35
  },
  "hsl": {
    "h": 90.714,
    "s": 54.545,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51954,
    "c": 0.12307,
    "h": 132.6
  },
  "luminance": 0.14852
}

Semantic roles & 50–950 ramp

primary
#4C7723
secondary
#7C4CAA
accent
#4ADE96
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #4C7723

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

Preview Lab → · Contrast checker → · Palette generator →

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