#4C8314#4C8314

#4C8314 is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 55.1% C 0.148 H 133.5°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#4C8314
RGBrgb(76, 131, 20)
HSLhsl(90, 74%, 30%)
HSVhsv(90, 85%, 51%)
CMYKcmyk(42%, 0%, 84.7%, 48.6%)
CIE-LABlab(49.28, -36.06, 48.89)
CIE-LCHlch(49.28, 60.76, 126.41°)
OKLaboklab(55.07% -0.1017 0.1073)
OKLCHoklch(55.07% 0.148 133.5)
XYZxyz(11.2229, 17.8190, 3.5098)
Luminance0.1782 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8314 #4B1483
analogous
#838314 #4C8314 #148314
triadic
#4C8314 #144C83 #83144C
tetradic
#4C8314 #148383 #4B1483 #831414
square
#4C8314 #148383 #4B1483 #831414
split-complementary
#4C8314 #141483 #831483
monochromatic
#0F1B04 #2D4E0C #4C8314 #6BB81C #89E032

Accessibility & contrast

On white

4.60
#4C8314 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#4C8314 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4C8314
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8314#FFFFFF#000000##FFFFFF
##4C83141.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#817422
Tritanopia (blue-blind)
#4C7D6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4c8314;
/* rgb */ color: rgb(76, 131, 20);
/* oklch */ color: oklch(55.1% 0.148 133.5);
Tailwind
colors: {
  custom: {
    50: '#84a75d',
    500: '#4c8314',
    950: '#000000',
  },
}
SCSS
$custom: #4c8314;
$custom-light: #84a75d;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8314",
  "rgb": {
    "r": 76,
    "g": 131,
    "b": 20
  },
  "hsl": {
    "h": 89.73,
    "s": 73.51,
    "l": 29.608
  },
  "oklch": {
    "l": 0.55069,
    "c": 0.14785,
    "h": 133.5
  },
  "luminance": 0.1782
}

Semantic roles & 50–950 ramp

primary
#4C8314
secondary
#793BB8
accent
#38F093
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4C8314

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

Preview Lab → · Contrast checker → · Palette generator →

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