#4A5213#4A5213

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

Color values

HEX#4A5213
RGBrgb(74, 82, 19)
HSLhsl(68, 62%, 20%)
HSVhsv(68, 77%, 32%)
CMYKcmyk(9.8%, 0%, 76.8%, 67.8%)
CIE-LABlab(33.00, -12.58, 33.94)
CIE-LCHlch(33.00, 36.20, 110.33°)
OKLaboklab(41.81% -0.0377 0.0757)
OKLCHoklch(41.81% 0.085 116.5)
XYZxyz(5.9590, 7.5375, 1.7569)
Luminance0.0754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5213 #1B1352
analogous
#523B13 #4A5213 #2B5213
triadic
#4A5213 #134A52 #52134A
tetradic
#4A5213 #13523B #1B1352 #52132B
square
#4A5213 #13523B #1B1352 #52132B
split-complementary
#4A5213 #132B52 #3B1352
monochromatic
#161906 #1D2007 #4A5213 #77841F #A4B52A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A5213#FFFFFF#000000##FFFFFF
##4A52131.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)
#584D08
Deuteranopia (green-blind)
#574E18
Tritanopia (blue-blind)
#4F4D46
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4a5213;
/* rgb */ color: rgb(74, 82, 19);
/* oklch */ color: oklch(41.8% 0.085 116.5);
Tailwind
colors: {
  custom: {
    50: '#7f8255',
    500: '#4a5213',
    950: '#000000',
  },
}
SCSS
$custom: #4a5213;
$custom-light: #7f8255;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5213",
  "rgb": {
    "r": 74,
    "g": 82,
    "b": 19
  },
  "hsl": {
    "h": 67.619,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.41811,
    "c": 0.08459,
    "h": 116.5
  },
  "luminance": 0.07537
}

Semantic roles & 50–950 ramp

primary
#4A5213
secondary
#41368A
accent
#42E557
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4A5213

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

Preview Lab → · Contrast checker → · Palette generator →

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