#4A560C#4A560C

#4A560C 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#4A560C
RGBrgb(74, 86, 12)
HSLhsl(70, 76%, 19%)
HSVhsv(70, 86%, 34%)
CMYKcmyk(14%, 0%, 86%, 66.3%)
CIE-LABlab(34.27, -15.20, 37.77)
CIE-LCHlch(34.27, 40.72, 111.92°)
OKLaboklab(42.82% -0.0457 0.0824)
OKLCHoklch(42.82% 0.094 119)
XYZxyz(6.2183, 8.1380, 1.5910)
Luminance0.0814 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A560C #180C56
analogous
#563D0C #4A560C #25560C
triadic
#4A560C #0C4A56 #560C4A
tetradic
#4A560C #0C563D #180C56 #560C25
square
#4A560C #0C563D #180C56 #560C25
split-complementary
#4A560C #0C2556 #3D0C56
monochromatic
#171B04 #1C2005 #4A560C #788C13 #A6C11B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A560C#FFFFFF#000000##FFFFFF
##4A560C1.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)
#5B5113
Tritanopia (blue-blind)
#4F5149
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4a560c;
/* rgb */ color: rgb(74, 86, 12);
/* oklch */ color: oklch(42.8% 0.094 119.0);
Tailwind
colors: {
  custom: {
    50: '#7f8553',
    500: '#4a560c',
    950: '#000000',
  },
}
SCSS
$custom: #4a560c;
$custom-light: #7f8553;
$custom-dark: #000000;
JSON
{
  "hex": "#4a560c",
  "rgb": {
    "r": 74,
    "g": 86,
    "b": 12
  },
  "hsl": {
    "h": 69.73,
    "s": 75.51,
    "l": 19.216
  },
  "oklch": {
    "l": 0.42817,
    "c": 0.09423,
    "h": 119
  },
  "luminance": 0.08138
}

Semantic roles & 50–950 ramp

primary
#4A560C
secondary
#3D2D91
accent
#36F254
background
#F8F8F4
surface
#EFEFE7
border
#CACAC3
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #4A560C

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

Preview Lab → · Contrast checker → · Palette generator →

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