#4C5F10#4C5F10

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

Color values

HEX#4C5F10
RGBrgb(76, 95, 16)
HSLhsl(74, 71%, 22%)
HSVhsv(74, 83%, 37%)
CMYKcmyk(20%, 0%, 83.2%, 62.7%)
CIE-LABlab(37.41, -18.96, 39.34)
CIE-LCHlch(37.41, 43.67, 115.74°)
OKLaboklab(45.39% -0.0557 0.0865)
OKLCHoklch(45.39% 0.103 122.8)
XYZxyz(7.1663, 9.7583, 1.9961)
Luminance0.0976 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5F10 #23105F
analogous
#5F4B10 #4C5F10 #255F10
triadic
#4C5F10 #104C5F #5F104C
tetradic
#4C5F10 #105F4B #23105F #5F1025
square
#4C5F10 #105F4B #23105F #5F1025
split-complementary
#4C5F10 #10255F #4B105F
monochromatic
#151A04 #222B07 #4C5F10 #769319 #A0C822

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C5F10#FFFFFF#000000##FFFFFF
##4C5F101.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)
#655900
Deuteranopia (green-blind)
#635818
Tritanopia (blue-blind)
#505A50
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4c5f10;
/* rgb */ color: rgb(76, 95, 16);
/* oklch */ color: oklch(45.4% 0.103 122.8);
Tailwind
colors: {
  custom: {
    50: '#818c56',
    500: '#4c5f10',
    950: '#000000',
  },
}
SCSS
$custom: #4c5f10;
$custom-light: #818c56;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5f10",
  "rgb": {
    "r": 76,
    "g": 95,
    "b": 16
  },
  "hsl": {
    "h": 74.43,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.45394,
    "c": 0.10286,
    "h": 122.8
  },
  "luminance": 0.09758
}

Semantic roles & 50–950 ramp

primary
#4C5F10
secondary
#4B3398
accent
#3AEE65
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4C5F10

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

Preview Lab → · Contrast checker → · Palette generator →

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