#4C7718#4C7718

#4C7718 is a mid, vivid yellow-green. Relative luminance 0.148; OKLCH L 51.9% C 0.130 H 131.5°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#4C7718
RGBrgb(76, 119, 24)
HSLhsl(87, 66%, 28%)
HSVhsv(87, 80%, 47%)
CMYKcmyk(36.1%, 0%, 79.8%, 53.3%)
CIE-LABlab(45.35, -30.46, 44.02)
CIE-LCHlch(45.35, 53.53, 124.68°)
OKLaboklab(51.87% -0.0863 0.0977)
OKLCHoklch(51.87% 0.13 131.5)
XYZxyz(9.7421, 14.7957, 3.2065)
Luminance0.1480 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7718 #431877
analogous
#777218 #4C7718 #1C7718
triadic
#4C7718 #184C77 #77184C
tetradic
#4C7718 #187772 #431877 #77181C
square
#4C7718 #187772 #431877 #77181C
split-complementary
#4C7718 #181C77 #721877
monochromatic
#101905 #2B440E #4C7718 #6DAA22 #8CD633

Accessibility & contrast

On white

5.30
#4C7718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#4C7718 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C7718
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7718#FFFFFF#000000##FFFFFF
##4C77181.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D01
Deuteranopia (green-blind)
#776A22
Tritanopia (blue-blind)
#4D7265
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4c7718;
/* rgb */ color: rgb(76, 119, 24);
/* oklch */ color: oklch(51.9% 0.130 131.5);
Tailwind
colors: {
  custom: {
    50: '#829e5d',
    500: '#4c7718',
    950: '#000000',
  },
}
SCSS
$custom: #4c7718;
$custom-light: #829e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7718",
  "rgb": {
    "r": 76,
    "g": 119,
    "b": 24
  },
  "hsl": {
    "h": 87.158,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51867,
    "c": 0.13038,
    "h": 131.5
  },
  "luminance": 0.14796
}

Semantic roles & 50–950 ramp

primary
#4C7718
secondary
#703FAC
accent
#3EE98C
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4C7718

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

Preview Lab → · Contrast checker → · Palette generator →

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