#4C760F#4C760F

#4C760F is a mid, vivid yellow-green. Relative luminance 0.145; OKLCH L 51.5% C 0.133 H 130.6°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#4C760F
RGBrgb(76, 118, 15)
HSLhsl(84, 77%, 26%)
HSVhsv(84, 87%, 46%)
CMYKcmyk(35.6%, 0%, 87.3%, 53.7%)
CIE-LABlab(44.98, -30.44, 46.44)
CIE-LCHlch(44.98, 55.52, 123.24°)
OKLaboklab(51.55% -0.0869 0.1013)
OKLCHoklch(51.55% 0.133 130.6)
XYZxyz(9.5451, 14.5275, 2.7530)
Luminance0.1453 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C760F #390F76
analogous
#766C0F #4C760F #18760F
triadic
#4C760F #0F4C76 #760F4C
tetradic
#4C760F #0F766C #390F76 #760F18
square
#4C760F #0F766C #390F76 #760F18
split-complementary
#4C760F #0F1876 #6C0F76
monochromatic
#111B03 #294008 #4C760F #6FAC16 #92E21D

Accessibility & contrast

On white

5.38
#4C760F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#4C760F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C760F
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C760F#FFFFFF#000000##FFFFFF
##4C760F1.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6C00
Deuteranopia (green-blind)
#76691C
Tritanopia (blue-blind)
#4E7164
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4c760f;
/* rgb */ color: rgb(76, 118, 15);
/* oklch */ color: oklch(51.5% 0.133 130.6);
Tailwind
colors: {
  custom: {
    50: '#829e59',
    500: '#4c760f',
    950: '#000000',
  },
}
SCSS
$custom: #4c760f;
$custom-light: #829e59;
$custom-dark: #000000;
JSON
{
  "hex": "#4c760f",
  "rgb": {
    "r": 76,
    "g": 118,
    "b": 15
  },
  "hsl": {
    "h": 84.466,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.51549,
    "c": 0.13347,
    "h": 130.6
  },
  "luminance": 0.14528
}

Semantic roles & 50–950 ramp

primary
#4C760F
secondary
#6533AD
accent
#34F482
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4C760F

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

Preview Lab → · Contrast checker → · Palette generator →

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