#4C5F0E#4C5F0E

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

Color values

HEX#4C5F0E
RGBrgb(76, 95, 14)
HSLhsl(74, 74%, 21%)
HSVhsv(74, 85%, 37%)
CMYKcmyk(20%, 0%, 85.3%, 62.7%)
CIE-LABlab(37.39, -19.06, 39.99)
CIE-LCHlch(37.39, 44.30, 115.48°)
OKLaboklab(45.38% -0.0562 0.0875)
OKLCHoklch(45.38% 0.104 122.7)
XYZxyz(7.1521, 9.7526, 1.9210)
Luminance0.0975 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5F0E #210E5F
analogous
#5F4A0E #4C5F0E #245F0E
triadic
#4C5F0E #0E4C5F #5F0E4C
tetradic
#4C5F0E #0E5F4A #210E5F #5F0E24
square
#4C5F0E #0E5F4A #210E5F #5F0E24
split-complementary
#4C5F0E #0E245F #4A0E5F
monochromatic
#151B04 #212A06 #4C5F0E #779416 #A1CA1E

Accessibility & contrast

On white

7.12
#4C5F0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C5F0E
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5F0E#FFFFFF#000000##FFFFFF
##4C5F0E1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655800
Deuteranopia (green-blind)
#635817
Tritanopia (blue-blind)
#505A50
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4c5f0e;
/* rgb */ color: rgb(76, 95, 14);
/* oklch */ color: oklch(45.4% 0.104 122.7);
Tailwind
colors: {
  custom: {
    50: '#818c55',
    500: '#4c5f0e',
    950: '#000000',
  },
}
SCSS
$custom: #4c5f0e;
$custom-light: #818c55;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5f0e",
  "rgb": {
    "r": 76,
    "g": 95,
    "b": 14
  },
  "hsl": {
    "h": 74.074,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.45383,
    "c": 0.10394,
    "h": 122.7
  },
  "luminance": 0.09753
}

Semantic roles & 50–950 ramp

primary
#4C5F0E
secondary
#493099
accent
#37F163
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4C5F0E

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

Preview Lab → · Contrast checker → · Palette generator →

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