#4C6016#4C6016

#4C6016 is a mid, moderate yellow-green. Relative luminance 0.100; OKLCH L 45.7% C 0.100 H 123.7°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#4C6016
RGBrgb(76, 96, 22)
HSLhsl(76, 63%, 23%)
HSVhsv(76, 77%, 38%)
CMYKcmyk(20.8%, 0%, 77.1%, 62.4%)
CIE-LABlab(37.77, -19.15, 37.45)
CIE-LCHlch(37.77, 42.06, 117.09°)
OKLaboklab(45.7% -0.0557 0.0836)
OKLCHoklch(45.7% 0.1 123.7)
XYZxyz(7.3083, 9.9601, 2.2964)
Luminance0.0996 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6016 #2A1660
analogous
#604F16 #4C6016 #276016
triadic
#4C6016 #164C60 #60164C
tetradic
#4C6016 #16604F #2A1660 #601627
square
#4C6016 #16604F #2A1660 #601627
split-complementary
#4C6016 #162760 #4F1660
monochromatic
#141906 #252E0B #4C6016 #739221 #9BC42D

Accessibility & contrast

On white

7.02
#4C6016 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4C6016 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C6016
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6016#FFFFFF#000000##FFFFFF
##4C60161.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665908
Deuteranopia (green-blind)
#63591C
Tritanopia (blue-blind)
#505B52
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4c6016;
/* rgb */ color: rgb(76, 96, 22);
/* oklch */ color: oklch(45.7% 0.100 123.7);
Tailwind
colors: {
  custom: {
    50: '#818d59',
    500: '#4c6016',
    950: '#000000',
  },
}
SCSS
$custom: #4c6016;
$custom-light: #818d59;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6016",
  "rgb": {
    "r": 76,
    "g": 96,
    "b": 22
  },
  "hsl": {
    "h": 76.216,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.45702,
    "c": 0.10045,
    "h": 123.7
  },
  "luminance": 0.0996
}

Semantic roles & 50–950 ramp

primary
#4C6016
secondary
#543B97
accent
#42E66E
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #4C6016

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

Preview Lab → · Contrast checker → · Palette generator →

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