#4C6013#4C6013

#4C6013 is a mid, moderate yellow-green. Relative luminance 0.099; 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#4C6013
RGBrgb(76, 96, 19)
HSLhsl(76, 67%, 23%)
HSVhsv(76, 80%, 38%)
CMYKcmyk(20.8%, 0%, 80.2%, 62.4%)
CIE-LABlab(37.75, -19.33, 38.59)
CIE-LCHlch(37.75, 43.17, 116.61°)
OKLaboklab(45.68% -0.0565 0.0854)
OKLCHoklch(45.68% 0.102 123.5)
XYZxyz(7.2810, 9.9492, 2.1528)
Luminance0.0995 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6013 #271360
analogous
#604D13 #4C6013 #266013
triadic
#4C6013 #134C60 #60134C
tetradic
#4C6013 #13604D #271360 #601326
square
#4C6013 #13604D #271360 #601326
split-complementary
#4C6013 #132660 #4D1360
monochromatic
#141A05 #242D09 #4C6013 #74931D #9DC627

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C6013#FFFFFF#000000##FFFFFF
##4C60131.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)
#665903
Deuteranopia (green-blind)
#63591A
Tritanopia (blue-blind)
#505B51
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4c6013;
/* rgb */ color: rgb(76, 96, 19);
/* oklch */ color: oklch(45.7% 0.102 123.5);
Tailwind
colors: {
  custom: {
    50: '#818d58',
    500: '#4c6013',
    950: '#000000',
  },
}
SCSS
$custom: #4c6013;
$custom-light: #818d58;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6013",
  "rgb": {
    "r": 76,
    "g": 96,
    "b": 19
  },
  "hsl": {
    "h": 75.584,
    "s": 66.957,
    "l": 22.549
  },
  "oklch": {
    "l": 0.4568,
    "c": 0.10242,
    "h": 123.5
  },
  "luminance": 0.09949
}

Semantic roles & 50–950 ramp

primary
#4C6013
secondary
#503798
accent
#3EEA6B
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4C6013

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

Preview Lab → · Contrast checker → · Palette generator →

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