#4C6F17#4C6F17

#4C6F17 is a mid, vivid yellow-green. Relative luminance 0.130; OKLCH L 49.7% C 0.120 H 129.4°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#4C6F17
RGBrgb(76, 111, 23)
HSLhsl(84, 66%, 26%)
HSVhsv(84, 79%, 44%)
CMYKcmyk(31.5%, 0%, 79.3%, 56.5%)
CIE-LABlab(42.71, -26.71, 41.86)
CIE-LCHlch(42.71, 49.65, 122.54°)
OKLaboklab(49.71% -0.0763 0.093)
OKLCHoklch(49.71% 0.12 129.4)
XYZxyz(8.8196, 12.9670, 2.8486)
Luminance0.1297 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6F17 #3A176F
analogous
#6F6617 #4C6F17 #206F17
triadic
#4C6F17 #174C6F #6F174C
tetradic
#4C6F17 #176F66 #3A176F #6F1720
square
#4C6F17 #176F66 #3A176F #6F1720
split-complementary
#4C6F17 #17206F #66176F
monochromatic
#111905 #293C0C #4C6F17 #6FA222 #91D32D

Accessibility & contrast

On white

5.84
#4C6F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#4C6F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6F17
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6F17#FFFFFF#000000##FFFFFF
##4C6F171.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756604
Deuteranopia (green-blind)
#706420
Tritanopia (blue-blind)
#4E6A5E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4c6f17;
/* rgb */ color: rgb(76, 111, 23);
/* oklch */ color: oklch(49.7% 0.120 129.4);
Tailwind
colors: {
  custom: {
    50: '#82985c',
    500: '#4c6f17',
    950: '#000000',
  },
}
SCSS
$custom: #4c6f17;
$custom-light: #82985c;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6f17",
  "rgb": {
    "r": 76,
    "g": 111,
    "b": 23
  },
  "hsl": {
    "h": 83.864,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49714,
    "c": 0.12027,
    "h": 129.4
  },
  "luminance": 0.12967
}

Semantic roles & 50–950 ramp

primary
#4C6F17
secondary
#663DA5
accent
#3FE983
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4C6F17

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

Preview Lab → · Contrast checker → · Palette generator →

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