#4A4A0F#4A4A0F

#4A4A0F is a dark, moderate yellow. Relative luminance 0.064; OKLCH L 39.7% C 0.077 H 109.5°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#4A4A0F
RGBrgb(74, 74, 15)
HSLhsl(60, 66%, 17%)
HSVhsv(60, 80%, 29%)
CMYKcmyk(0%, 0%, 79.7%, 71%)
CIE-LABlab(30.37, -8.15, 33.07)
CIE-LCHlch(30.37, 34.06, 103.84°)
OKLaboklab(39.7% -0.0258 0.0731)
OKLCHoklch(39.7% 0.077 109.5)
XYZxyz(5.3592, 6.3881, 1.4026)
Luminance0.0639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4A0F #0F0F4A
analogous
#4A2D0F #4A4A0F #2D4A0F
triadic
#4A4A0F #0F4A4A #4A0F4A
tetradic
#4A4A0F #0F4A2D #0F0F4A #4A0F2D
square
#4A4A0F #0F4A2D #0F0F4A #4A0F2D
split-complementary
#4A4A0F #0F2D4A #2D0F4A
monochromatic
#191905 #191905 #4A4A0F #7D7D19 #B0B024

Accessibility & contrast

On white

9.22
#4A4A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#4A4A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4A0F
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4A0F#FFFFFF#000000##FFFFFF
##4A4A0F1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514705
Deuteranopia (green-blind)
#514814
Tritanopia (blue-blind)
#50453F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4a4a0f;
/* rgb */ color: rgb(74, 74, 15);
/* oklch */ color: oklch(39.7% 0.077 109.5);
Tailwind
colors: {
  custom: {
    50: '#7f7c52',
    500: '#4a4a0f',
    950: '#000000',
  },
}
SCSS
$custom: #4a4a0f;
$custom-light: #7f7c52;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4a0f",
  "rgb": {
    "r": 74,
    "g": 74,
    "b": 15
  },
  "hsl": {
    "h": 60,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.39695,
    "c": 0.07749,
    "h": 109.5
  },
  "luminance": 0.06388
}

Semantic roles & 50–950 ramp

primary
#4A4A0F
secondary
#303084
accent
#3FE93F
background
#F7F7F4
surface
#EEEEE7
border
#C9C9C3
text
#0A0902
muted
#7C7B78

Preview Lab

Preview with #4A4A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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