#4C6010#4C6010

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

Color values

HEX#4C6010
RGBrgb(76, 96, 16)
HSLhsl(75, 71%, 22%)
HSVhsv(75, 83%, 38%)
CMYKcmyk(20.8%, 0%, 83.3%, 62.4%)
CIE-LABlab(37.73, -19.49, 39.64)
CIE-LCHlch(37.73, 44.18, 116.18°)
OKLaboklab(45.66% -0.0572 0.0871)
OKLCHoklch(45.66% 0.104 123.3)
XYZxyz(7.2570, 9.9396, 2.0263)
Luminance0.0994 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6010 #241060
analogous
#604C10 #4C6010 #246010
triadic
#4C6010 #104C60 #60104C
tetradic
#4C6010 #10604C #241060 #601024
square
#4C6010 #10604C #241060 #601024
split-complementary
#4C6010 #102460 #4C1060
monochromatic
#151A04 #222C07 #4C6010 #769419 #9FC921

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C6010#FFFFFF#000000##FFFFFF
##4C60101.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)
#635918
Tritanopia (blue-blind)
#505B51
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4c6010;
/* rgb */ color: rgb(76, 96, 16);
/* oklch */ color: oklch(45.7% 0.104 123.3);
Tailwind
colors: {
  custom: {
    50: '#818d56',
    500: '#4c6010',
    950: '#000000',
  },
}
SCSS
$custom: #4c6010;
$custom-light: #818d56;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6010",
  "rgb": {
    "r": 76,
    "g": 96,
    "b": 16
  },
  "hsl": {
    "h": 75,
    "s": 71.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.4566,
    "c": 0.10419,
    "h": 123.3
  },
  "luminance": 0.0994
}

Semantic roles & 50–950 ramp

primary
#4C6010
secondary
#4C3399
accent
#3AEE67
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4C6010

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

Preview Lab → · Contrast checker → · Palette generator →

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