#4C7010#4C7010

#4C7010 is a mid, vivid yellow-green. Relative luminance 0.132; OKLCH L 49.9% C 0.125 H 129.1°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#4C7010
RGBrgb(76, 112, 16)
HSLhsl(83, 75%, 25%)
HSVhsv(83, 86%, 44%)
CMYKcmyk(32.1%, 0%, 85.7%, 56.1%)
CIE-LABlab(43.01, -27.56, 44.41)
CIE-LCHlch(43.01, 52.27, 121.82°)
OKLaboklab(49.94% -0.0791 0.0972)
OKLCHoklch(49.94% 0.125 129.1)
XYZxyz(8.8682, 13.1620, 2.5634)
Luminance0.1316 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7010 #341070
analogous
#706410 #4C7010 #1C7010
triadic
#4C7010 #104C70 #70104C
tetradic
#4C7010 #107064 #341070 #70101C
square
#4C7010 #107064 #341070 #70101C
split-complementary
#4C7010 #101C70 #641070
monochromatic
#121B04 #283A08 #4C7010 #70A618 #95DB1F

Accessibility & contrast

On white

5.78
#4C7010 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#4C7010 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C7010
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7010#FFFFFF#000000##FFFFFF
##4C70101.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#71651B
Tritanopia (blue-blind)
#4F6B5F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4c7010;
/* rgb */ color: rgb(76, 112, 16);
/* oklch */ color: oklch(49.9% 0.125 129.1);
Tailwind
colors: {
  custom: {
    50: '#829959',
    500: '#4c7010',
    950: '#000000',
  },
}
SCSS
$custom: #4c7010;
$custom-light: #829959;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7010",
  "rgb": {
    "r": 76,
    "g": 112,
    "b": 16
  },
  "hsl": {
    "h": 82.5,
    "s": 75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.49941,
    "c": 0.12529,
    "h": 129.1
  },
  "luminance": 0.13162
}

Semantic roles & 50–950 ramp

primary
#4C7010
secondary
#5F34A8
accent
#36F27C
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4C7010

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

Preview Lab → · Contrast checker → · Palette generator →

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