#4C5710#4C5710

#4C5710 is a dark, moderate yellow. Relative luminance 0.084; OKLCH L 43.3% C 0.092 H 118.3°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#4C5710
RGBrgb(76, 87, 16)
HSLhsl(69, 69%, 20%)
HSVhsv(69, 82%, 34%)
CMYKcmyk(12.6%, 0%, 81.6%, 65.9%)
CIE-LABlab(34.78, -14.61, 36.91)
CIE-LCHlch(34.78, 39.70, 111.59°)
OKLaboklab(43.28% -0.0438 0.0813)
OKLCHoklch(43.28% 0.092 118.3)
XYZxyz(6.4824, 8.3904, 1.7681)
Luminance0.0839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5710 #1B1057
analogous
#573F10 #4C5710 #285710
triadic
#4C5710 #104C57 #57104C
tetradic
#4C5710 #10573F #1B1057 #571028
square
#4C5710 #10573F #1B1057 #571028
split-complementary
#4C5710 #102857 #3F1057
monochromatic
#171A05 #1F2306 #4C5710 #798B1A #A6BE23

Accessibility & contrast

On white

7.84
#4C5710 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4C5710 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C5710
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5710#FFFFFF#000000##FFFFFF
##4C57101.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5202
Deuteranopia (green-blind)
#5C5216
Tritanopia (blue-blind)
#51524A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4c5710;
/* rgb */ color: rgb(76, 87, 16);
/* oklch */ color: oklch(43.3% 0.092 118.3);
Tailwind
colors: {
  custom: {
    50: '#818655',
    500: '#4c5710',
    950: '#000000',
  },
}
SCSS
$custom: #4c5710;
$custom-light: #818655;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5710",
  "rgb": {
    "r": 76,
    "g": 87,
    "b": 16
  },
  "hsl": {
    "h": 69.296,
    "s": 68.932,
    "l": 20.196
  },
  "oklch": {
    "l": 0.43279,
    "c": 0.09235,
    "h": 118.3
  },
  "luminance": 0.0839
}

Semantic roles & 50–950 ramp

primary
#4C5710
secondary
#413290
accent
#3CEC57
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #4C5710

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

Preview Lab → · Contrast checker → · Palette generator →

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