#4C6014#4C6014

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

Color values

HEX#4C6014
RGBrgb(76, 96, 20)
HSLhsl(76, 66%, 23%)
HSVhsv(76, 79%, 38%)
CMYKcmyk(20.8%, 0%, 79.2%, 62.4%)
CIE-LABlab(37.76, -19.28, 38.22)
CIE-LCHlch(37.76, 42.81, 116.76°)
OKLaboklab(45.69% -0.0562 0.0848)
OKLCHoklch(45.69% 0.102 123.5)
XYZxyz(7.2897, 9.9527, 2.1987)
Luminance0.0995 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6014 #281460
analogous
#604E14 #4C6014 #266014
triadic
#4C6014 #144C60 #60144C
tetradic
#4C6014 #14604E #281460 #601426
square
#4C6014 #14604E #281460 #601426
split-complementary
#4C6014 #142660 #4E1460
monochromatic
#141905 #242D09 #4C6014 #74931F #9CC529

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C6014#FFFFFF#000000##FFFFFF
##4C60141.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)
#665905
Deuteranopia (green-blind)
#63591B
Tritanopia (blue-blind)
#505B52
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4c6014;
/* rgb */ color: rgb(76, 96, 20);
/* oklch */ color: oklch(45.7% 0.102 123.5);
Tailwind
colors: {
  custom: {
    50: '#818d58',
    500: '#4c6014',
    950: '#000000',
  },
}
SCSS
$custom: #4c6014;
$custom-light: #818d58;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6014",
  "rgb": {
    "r": 76,
    "g": 96,
    "b": 20
  },
  "hsl": {
    "h": 75.789,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.45687,
    "c": 0.10179,
    "h": 123.5
  },
  "luminance": 0.09953
}

Semantic roles & 50–950 ramp

primary
#4C6014
secondary
#513898
accent
#3FE86C
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4C6014

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

Preview Lab → · Contrast checker → · Palette generator →

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