#4A530D#4A530D

#4A530D is a dark, moderate yellow. Relative luminance 0.077; OKLCH L 42.0% C 0.090 H 117.0°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#4A530D
RGBrgb(74, 83, 13)
HSLhsl(68, 73%, 19%)
HSVhsv(68, 84%, 33%)
CMYKcmyk(10.8%, 0%, 84.3%, 67.5%)
CIE-LABlab(33.29, -13.48, 36.55)
CIE-LCHlch(33.29, 38.96, 110.24°)
OKLaboklab(42.03% -0.0408 0.08)
OKLCHoklch(42.03% 0.09 117)
XYZxyz(5.9901, 7.6715, 1.5459)
Luminance0.0767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A530D #160D53
analogous
#53390D #4A530D #27530D
triadic
#4A530D #0D4A53 #530D4A
tetradic
#4A530D #0D5339 #160D53 #530D27
square
#4A530D #0D5339 #160D53 #530D27
split-complementary
#4A530D #0D2753 #390D53
monochromatic
#181A04 #1B1E05 #4A530D #798815 #A8BD1E

Accessibility & contrast

On white

8.29
#4A530D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4A530D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A530D
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A530D#FFFFFF#000000##FFFFFF
##4A530D1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E00
Deuteranopia (green-blind)
#584F14
Tritanopia (blue-blind)
#4F4E46
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4a530d;
/* rgb */ color: rgb(74, 83, 13);
/* oklch */ color: oklch(42.0% 0.090 117.0);
Tailwind
colors: {
  custom: {
    50: '#7f8353',
    500: '#4a530d',
    950: '#000000',
  },
}
SCSS
$custom: #4a530d;
$custom-light: #7f8353;
$custom-dark: #000000;
JSON
{
  "hex": "#4a530d",
  "rgb": {
    "r": 74,
    "g": 83,
    "b": 13
  },
  "hsl": {
    "h": 67.714,
    "s": 72.917,
    "l": 18.824
  },
  "oklch": {
    "l": 0.4203,
    "c": 0.08984,
    "h": 117
  },
  "luminance": 0.07671
}

Semantic roles & 50–950 ramp

primary
#4A530D
secondary
#3A2E8E
accent
#38F050
background
#F7F8F4
surface
#EEEFE7
border
#C9CAC3
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4A530D

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

Preview Lab → · Contrast checker → · Palette generator →

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