#4A5211#4A5211

#4A5211 is a dark, moderate yellow. Relative luminance 0.075; OKLCH L 41.8% C 0.086 H 116.4°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#4A5211
RGBrgb(74, 82, 17)
HSLhsl(67, 66%, 19%)
HSVhsv(67, 79%, 32%)
CMYKcmyk(9.8%, 0%, 79.3%, 67.8%)
CIE-LABlab(32.99, -12.70, 34.76)
CIE-LCHlch(32.99, 37.01, 110.07°)
OKLaboklab(41.8% -0.0383 0.077)
OKLCHoklch(41.8% 0.086 116.4)
XYZxyz(5.9427, 7.5310, 1.6708)
Luminance0.0753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5211 #191152
analogous
#523A11 #4A5211 #2A5211
triadic
#4A5211 #114A52 #52114A
tetradic
#4A5211 #11523A #191152 #52112A
square
#4A5211 #11523A #191152 #52112A
split-complementary
#4A5211 #112A52 #3A1152
monochromatic
#171905 #1C1F06 #4A5211 #78851C #A5B726

Accessibility & contrast

On white

8.38
#4A5211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4A5211 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A5211
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5211#FFFFFF#000000##FFFFFF
##4A52111.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D05
Deuteranopia (green-blind)
#584E16
Tritanopia (blue-blind)
#4F4D45
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4a5211;
/* rgb */ color: rgb(74, 82, 17);
/* oklch */ color: oklch(41.8% 0.086 116.4);
Tailwind
colors: {
  custom: {
    50: '#7f8254',
    500: '#4a5211',
    950: '#000000',
  },
}
SCSS
$custom: #4a5211;
$custom-light: #7f8254;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5211",
  "rgb": {
    "r": 74,
    "g": 82,
    "b": 17
  },
  "hsl": {
    "h": 67.385,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.41795,
    "c": 0.08603,
    "h": 116.4
  },
  "luminance": 0.07531
}

Semantic roles & 50–950 ramp

primary
#4A5211
secondary
#3E348B
accent
#3FE954
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4A5211

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

Preview Lab → · Contrast checker → · Palette generator →

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