#4A4A0B#4A4A0B

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

Color values

HEX#4A4A0B
RGBrgb(74, 74, 11)
HSLhsl(60, 74%, 17%)
HSVhsv(60, 85%, 29%)
CMYKcmyk(0%, 0%, 85.1%, 71%)
CIE-LABlab(30.35, -8.35, 34.59)
CIE-LCHlch(30.35, 35.58, 103.56°)
OKLaboklab(39.67% -0.0268 0.0754)
OKLCHoklch(39.67% 0.08 109.6)
XYZxyz(5.3334, 6.3777, 1.2666)
Luminance0.0638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4A0B #0B0B4A
analogous
#4A2B0B #4A4A0B #2B4A0B
triadic
#4A4A0B #0B4A4A #4A0B4A
tetradic
#4A4A0B #0B4A2B #0B0B4A #4A0B2B
square
#4A4A0B #0B4A2B #0B0B4A #4A0B2B
split-complementary
#4A4A0B #0B2B4A #2B0B4A
monochromatic
#1B1B04 #1B1B04 #4A4A0B #7F7F13 #B5B51B

Accessibility & contrast

On white

9.23
#4A4A0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A4A0B
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4A0B#FFFFFF#000000##FFFFFF
##4A4A0B1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514600
Deuteranopia (green-blind)
#524810
Tritanopia (blue-blind)
#50453E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4a4a0b;
/* rgb */ color: rgb(74, 74, 11);
/* oklch */ color: oklch(39.7% 0.080 109.6);
Tailwind
colors: {
  custom: {
    50: '#7f7c50',
    500: '#4a4a0b',
    950: '#000000',
  },
}
SCSS
$custom: #4a4a0b;
$custom-light: #7f7c50;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4a0b",
  "rgb": {
    "r": 74,
    "g": 74,
    "b": 11
  },
  "hsl": {
    "h": 60,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.39668,
    "c": 0.08006,
    "h": 109.6
  },
  "luminance": 0.06378
}

Semantic roles & 50–950 ramp

primary
#4A4A0B
secondary
#2B2B86
accent
#37F137
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0A0902
muted
#7C7B78

Preview Lab

Preview with #4A4A0B

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

Preview Lab → · Contrast checker → · Palette generator →

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