#4A560D#4A560D

#4A560D is a dark, moderate yellow. Relative luminance 0.081; OKLCH L 42.8% C 0.094 H 119.0°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#4A560D
RGBrgb(74, 86, 13)
HSLhsl(70, 74%, 19%)
HSVhsv(70, 85%, 34%)
CMYKcmyk(14%, 0%, 84.9%, 66.3%)
CIE-LABlab(34.27, -15.16, 37.45)
CIE-LCHlch(34.27, 40.40, 112.04°)
OKLaboklab(42.82% -0.0454 0.0819)
OKLCHoklch(42.82% 0.094 119)
XYZxyz(6.2246, 8.1405, 1.6241)
Luminance0.0814 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A560D #190D56
analogous
#563E0D #4A560D #26560D
triadic
#4A560D #0D4A56 #560D4A
tetradic
#4A560D #0D563E #190D56 #560D26
square
#4A560D #0D563E #190D56 #560D26
split-complementary
#4A560D #0D2656 #3E0D56
monochromatic
#171B04 #1C2105 #4A560D #788B15 #A5C01D

Accessibility & contrast

On white

7.99
#4A560D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#4A560D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A560D
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A560D#FFFFFF#000000##FFFFFF
##4A560D1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5100
Deuteranopia (green-blind)
#5B5114
Tritanopia (blue-blind)
#4F5149
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4a560d;
/* rgb */ color: rgb(74, 86, 13);
/* oklch */ color: oklch(42.8% 0.094 119.0);
Tailwind
colors: {
  custom: {
    50: '#7f8553',
    500: '#4a560d',
    950: '#000000',
  },
}
SCSS
$custom: #4a560d;
$custom-light: #7f8553;
$custom-dark: #000000;
JSON
{
  "hex": "#4a560d",
  "rgb": {
    "r": 74,
    "g": 86,
    "b": 13
  },
  "hsl": {
    "h": 69.863,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.42823,
    "c": 0.09369,
    "h": 119
  },
  "luminance": 0.0814
}

Semantic roles & 50–950 ramp

primary
#4A560D
secondary
#3E2E91
accent
#37F056
background
#F8F8F4
surface
#EFEFE8
border
#CACAC4
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #4A560D

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

Preview Lab → · Contrast checker → · Palette generator →

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