#4C5F13#4C5F13

#4C5F13 is a mid, moderate yellow-green. Relative luminance 0.098; OKLCH L 45.4% C 0.101 H 123.0°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#4C5F13
RGBrgb(76, 95, 19)
HSLhsl(75, 67%, 22%)
HSVhsv(75, 80%, 37%)
CMYKcmyk(20%, 0%, 80%, 62.7%)
CIE-LABlab(37.42, -18.80, 38.28)
CIE-LCHlch(37.42, 42.65, 116.16°)
OKLaboklab(45.41% -0.055 0.0848)
OKLCHoklch(45.41% 0.101 123)
XYZxyz(7.1903, 9.7679, 2.1226)
Luminance0.0977 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5F13 #26135F
analogous
#5F4C13 #4C5F13 #265F13
triadic
#4C5F13 #134C5F #5F134C
tetradic
#4C5F13 #135F4C #26135F #5F1326
square
#4C5F13 #135F4C #26135F #5F1326
split-complementary
#4C5F13 #13265F #4C135F
monochromatic
#141A05 #232C09 #4C5F13 #75921D #9EC527

Accessibility & contrast

On white

7.11
#4C5F13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#4C5F13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C5F13
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5F13#FFFFFF#000000##FFFFFF
##4C5F131.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655904
Deuteranopia (green-blind)
#63581A
Tritanopia (blue-blind)
#505A51
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4c5f13;
/* rgb */ color: rgb(76, 95, 19);
/* oklch */ color: oklch(45.4% 0.101 123.0);
Tailwind
colors: {
  custom: {
    50: '#818c57',
    500: '#4c5f13',
    950: '#000000',
  },
}
SCSS
$custom: #4c5f13;
$custom-light: #818c57;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5f13",
  "rgb": {
    "r": 76,
    "g": 95,
    "b": 19
  },
  "hsl": {
    "h": 75,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.45414,
    "c": 0.10107,
    "h": 123
  },
  "luminance": 0.09768
}

Semantic roles & 50–950 ramp

primary
#4C5F13
secondary
#4F3797
accent
#3EEA69
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4C5F13

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

Preview Lab → · Contrast checker → · Palette generator →

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