#4C6011#4C6011

#4C6011 is a mid, moderate yellow-green. Relative luminance 0.099; OKLCH L 45.7% C 0.104 H 123.4°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#4C6011
RGBrgb(76, 96, 17)
HSLhsl(75, 70%, 22%)
HSVhsv(75, 82%, 38%)
CMYKcmyk(20.8%, 0%, 82.3%, 62.4%)
CIE-LABlab(37.74, -19.44, 39.30)
CIE-LCHlch(37.74, 43.85, 116.32°)
OKLaboklab(45.67% -0.057 0.0866)
OKLCHoklch(45.67% 0.104 123.4)
XYZxyz(7.2646, 9.9427, 2.0666)
Luminance0.0994 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6011 #251160
analogous
#604D11 #4C6011 #246011
triadic
#4C6011 #114C60 #60114C
tetradic
#4C6011 #11604D #251160 #601124
square
#4C6011 #11604D #251160 #601124
split-complementary
#4C6011 #112460 #4D1160
monochromatic
#151A05 #232C08 #4C6011 #75941A #9EC823

Accessibility & contrast

On white

7.03
#4C6011 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C6011
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6011#FFFFFF#000000##FFFFFF
##4C60111.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665900
Deuteranopia (green-blind)
#635919
Tritanopia (blue-blind)
#505B51
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4c6011;
/* rgb */ color: rgb(76, 96, 17);
/* oklch */ color: oklch(45.7% 0.104 123.4);
Tailwind
colors: {
  custom: {
    50: '#818d57',
    500: '#4c6011',
    950: '#000000',
  },
}
SCSS
$custom: #4c6011;
$custom-light: #818d57;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6011",
  "rgb": {
    "r": 76,
    "g": 96,
    "b": 17
  },
  "hsl": {
    "h": 75.19,
    "s": 69.912,
    "l": 22.157
  },
  "oklch": {
    "l": 0.45666,
    "c": 0.10363,
    "h": 123.4
  },
  "luminance": 0.09943
}

Semantic roles & 50–950 ramp

primary
#4C6011
secondary
#4E3499
accent
#3BED68
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4C6011

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

Preview Lab → · Contrast checker → · Palette generator →

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