#4A5219#4A5219

#4A5219 is a dark, moderate yellow. Relative luminance 0.076; OKLCH L 41.9% C 0.080 H 116.8°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#4A5219
RGBrgb(74, 82, 25)
HSLhsl(68, 53%, 21%)
HSVhsv(68, 70%, 32%)
CMYKcmyk(9.8%, 0%, 69.5%, 67.8%)
CIE-LABlab(33.05, -12.15, 31.26)
CIE-LCHlch(33.05, 33.54, 111.24°)
OKLaboklab(41.87% -0.0359 0.0711)
OKLCHoklch(41.87% 0.08 116.8)
XYZxyz(6.0169, 7.5607, 2.0619)
Luminance0.0756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5219 #211952
analogous
#523D19 #4A5219 #2D5219
triadic
#4A5219 #194A52 #52194A
tetradic
#4A5219 #19523D #211952 #52192D
square
#4A5219 #19523D #211952 #52192D
split-complementary
#4A5219 #192D52 #3D1952
monochromatic
#151707 #20230B #4A5219 #748127 #9FB036

Accessibility & contrast

On white

8.36
#4A5219 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A5219
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5219#FFFFFF#000000##FFFFFF
##4A52191.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D12
Deuteranopia (green-blind)
#574E1D
Tritanopia (blue-blind)
#4F4D46
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4a5219;
/* rgb */ color: rgb(74, 82, 25);
/* oklch */ color: oklch(41.9% 0.080 116.8);
Tailwind
colors: {
  custom: {
    50: '#7e8259',
    500: '#4a5219',
    950: '#000000',
  },
}
SCSS
$custom: #4a5219;
$custom-light: #7e8259;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5219",
  "rgb": {
    "r": 74,
    "g": 82,
    "b": 25
  },
  "hsl": {
    "h": 68.421,
    "s": 53.271,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41867,
    "c": 0.07967,
    "h": 116.8
  },
  "luminance": 0.07561
}

Semantic roles & 50–950 ramp

primary
#4A5219
secondary
#493E88
accent
#4BDD60
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4A5219

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

Preview Lab → · Contrast checker → · Palette generator →

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