#4A5210#4A5210

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

Color values

HEX#4A5210
RGBrgb(74, 82, 16)
HSLhsl(67, 67%, 19%)
HSVhsv(67, 80%, 32%)
CMYKcmyk(9.8%, 0%, 80.5%, 67.8%)
CIE-LABlab(32.98, -12.75, 35.15)
CIE-LCHlch(32.98, 37.39, 109.94°)
OKLaboklab(41.79% -0.0385 0.0777)
OKLCHoklch(41.79% 0.087 116.4)
XYZxyz(5.9350, 7.5279, 1.6305)
Luminance0.0753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5210 #181052
analogous
#523910 #4A5210 #295210
triadic
#4A5210 #104A52 #52104A
tetradic
#4A5210 #105239 #181052 #521029
square
#4A5210 #105239 #181052 #521029
split-complementary
#4A5210 #102952 #391052
monochromatic
#171A05 #1C1F06 #4A5210 #78851A #A6B824

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A5210#FFFFFF#000000##FFFFFF
##4A52101.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)
#584D04
Deuteranopia (green-blind)
#584E16
Tritanopia (blue-blind)
#4F4D45
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4a5210;
/* rgb */ color: rgb(74, 82, 16);
/* oklch */ color: oklch(41.8% 0.087 116.4);
Tailwind
colors: {
  custom: {
    50: '#7f8254',
    500: '#4a5210',
    950: '#000000',
  },
}
SCSS
$custom: #4a5210;
$custom-light: #7f8254;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5210",
  "rgb": {
    "r": 74,
    "g": 82,
    "b": 16
  },
  "hsl": {
    "h": 67.273,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.41787,
    "c": 0.08671,
    "h": 116.4
  },
  "luminance": 0.07528
}

Semantic roles & 50–950 ramp

primary
#4A5210
secondary
#3D328C
accent
#3EEA52
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4A5210

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

Preview Lab → · Contrast checker → · Palette generator →

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