#4C530E#4C530E

#4C530E is a dark, moderate yellow. Relative luminance 0.078; OKLCH L 42.2% C 0.088 H 115.5°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#4C530E
RGBrgb(76, 83, 14)
HSLhsl(66, 71%, 19%)
HSVhsv(66, 83%, 33%)
CMYKcmyk(8.4%, 0%, 83.1%, 67.5%)
CIE-LABlab(33.47, -12.45, 36.42)
CIE-LCHlch(33.47, 38.49, 108.88°)
OKLaboklab(42.22% -0.038 0.0799)
OKLCHoklch(42.22% 0.088 115.5)
XYZxyz(6.1532, 7.7548, 1.5881)
Luminance0.0775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C530E #150E53
analogous
#53380E #4C530E #2A530E
triadic
#4C530E #0E4C53 #530E4C
tetradic
#4C530E #0E5338 #150E53 #530E2A
square
#4C530E #0E5338 #150E53 #530E2A
split-complementary
#4C530E #0E2A53 #380E53
monochromatic
#181A04 #1C1F05 #4C530E #7C8717 #ACBC20

Accessibility & contrast

On white

8.23
#4C530E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4C530E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C530E
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C530E#FFFFFF#000000##FFFFFF
##4C530E1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4E01
Deuteranopia (green-blind)
#594F14
Tritanopia (blue-blind)
#514E46
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4c530e;
/* rgb */ color: rgb(76, 83, 14);
/* oklch */ color: oklch(42.2% 0.088 115.5);
Tailwind
colors: {
  custom: {
    50: '#818353',
    500: '#4c530e',
    950: '#000000',
  },
}
SCSS
$custom: #4c530e;
$custom-light: #818353;
$custom-dark: #000000;
JSON
{
  "hex": "#4c530e",
  "rgb": {
    "r": 76,
    "g": 83,
    "b": 14
  },
  "hsl": {
    "h": 66.087,
    "s": 71.134,
    "l": 19.02
  },
  "oklch": {
    "l": 0.42218,
    "c": 0.08847,
    "h": 115.5
  },
  "luminance": 0.07755
}

Semantic roles & 50–950 ramp

primary
#4C530E
secondary
#392F8D
accent
#3AEE4C
background
#F8F8F4
surface
#EFEFE8
border
#CACAC4
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4C530E

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

Preview Lab → · Contrast checker → · Palette generator →

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