#4A560F#4A560F

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

Color values

HEX#4A560F
RGBrgb(74, 86, 15)
HSLhsl(70, 70%, 20%)
HSVhsv(70, 83%, 34%)
CMYKcmyk(14%, 0%, 82.6%, 66.3%)
CIE-LABlab(34.29, -15.06, 36.76)
CIE-LCHlch(34.29, 39.72, 112.28°)
OKLaboklab(42.84% -0.045 0.0809)
OKLCHoklch(42.84% 0.093 119.1)
XYZxyz(6.2382, 8.1460, 1.6955)
Luminance0.0815 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A560F #1B0F56
analogous
#563F0F #4A560F #26560F
triadic
#4A560F #0F4A56 #560F4A
tetradic
#4A560F #0F563F #1B0F56 #560F26
square
#4A560F #0F563F #1B0F56 #560F26
split-complementary
#4A560F #0F2656 #3F0F56
monochromatic
#161A05 #1D2206 #4A560F #778A18 #A4BE21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A560F#FFFFFF#000000##FFFFFF
##4A560F1.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)
#5C5101
Deuteranopia (green-blind)
#5B5116
Tritanopia (blue-blind)
#4F5149
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4a560f;
/* rgb */ color: rgb(74, 86, 15);
/* oklch */ color: oklch(42.8% 0.093 119.1);
Tailwind
colors: {
  custom: {
    50: '#7f8554',
    500: '#4a560f',
    950: '#000000',
  },
}
SCSS
$custom: #4a560f;
$custom-light: #7f8554;
$custom-dark: #000000;
JSON
{
  "hex": "#4a560f",
  "rgb": {
    "r": 74,
    "g": 86,
    "b": 15
  },
  "hsl": {
    "h": 70.141,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.42835,
    "c": 0.09254,
    "h": 119.1
  },
  "luminance": 0.08146
}

Semantic roles & 50–950 ramp

primary
#4A560F
secondary
#413190
accent
#3BED59
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #4A560F

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

Preview Lab → · Contrast checker → · Palette generator →

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