#4C6715#4C6715

#4C6715 is a mid, moderate yellow-green. Relative luminance 0.113; OKLCH L 47.6% C 0.111 H 126.6°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#4C6715
RGBrgb(76, 103, 21)
HSLhsl(80, 66%, 24%)
HSVhsv(80, 80%, 40%)
CMYKcmyk(26.2%, 0%, 79.6%, 59.6%)
CIE-LABlab(40.07, -22.85, 40.06)
CIE-LCHlch(40.07, 46.12, 119.70°)
OKLaboklab(47.56% -0.0659 0.0889)
OKLCHoklch(47.56% 0.111 126.6)
XYZxyz(7.9661, 11.2910, 2.4690)
Luminance0.1129 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6715 #301567
analogous
#675915 #4C6715 #236715
triadic
#4C6715 #154C67 #67154C
tetradic
#4C6715 #156759 #301567 #671523
square
#4C6715 #156759 #301567 #671523
split-complementary
#4C6715 #152367 #591567
monochromatic
#131905 #26340B #4C6715 #729A1F #97CD2A

Accessibility & contrast

On white

6.45
#4C6715 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#4C6715 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6715
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6715#FFFFFF#000000##FFFFFF
##4C67151.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F04
Deuteranopia (green-blind)
#695E1D
Tritanopia (blue-blind)
#4F6257
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4c6715;
/* rgb */ color: rgb(76, 103, 21);
/* oklch */ color: oklch(47.6% 0.111 126.6);
Tailwind
colors: {
  custom: {
    50: '#819259',
    500: '#4c6715',
    950: '#000000',
  },
}
SCSS
$custom: #4c6715;
$custom-light: #819259;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6715",
  "rgb": {
    "r": 76,
    "g": 103,
    "b": 21
  },
  "hsl": {
    "h": 79.756,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.47559,
    "c": 0.11066,
    "h": 126.6
  },
  "luminance": 0.11291
}

Semantic roles & 50–950 ramp

primary
#4C6715
secondary
#5B3A9E
accent
#3FE977
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4C6715

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

Preview Lab → · Contrast checker → · Palette generator →

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