#4A4F0B#4A4F0B

#4A4F0B is a dark, moderate yellow. Relative luminance 0.071; OKLCH L 41.0% C 0.086 H 114.0°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#4A4F0B
RGBrgb(74, 79, 11)
HSLhsl(64, 76%, 18%)
HSVhsv(64, 86%, 31%)
CMYKcmyk(6.3%, 0%, 86.1%, 69%)
CIE-LABlab(31.97, -11.28, 36.05)
CIE-LCHlch(31.97, 37.77, 107.37°)
OKLaboklab(40.97% -0.0349 0.0786)
OKLCHoklch(40.97% 0.086 114)
XYZxyz(5.6806, 7.0721, 1.3823)
Luminance0.0707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4F0B #100B4F
analogous
#4F320B #4A4F0B #284F0B
triadic
#4A4F0B #0B4A4F #4F0B4A
tetradic
#4A4F0B #0B4F32 #100B4F #4F0B28
square
#4A4F0B #0B4F32 #100B4F #4F0B28
split-complementary
#4A4F0B #0B284F #320B4F
monochromatic
#191B04 #191B04 #4A4F0B #7C8512 #AFBA1A

Accessibility & contrast

On white

8.70
#4A4F0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4A4F0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4F0B
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4F0B#FFFFFF#000000##FFFFFF
##4A4F0B1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B00
Deuteranopia (green-blind)
#554C11
Tritanopia (blue-blind)
#504A43
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4a4f0b;
/* rgb */ color: rgb(74, 79, 11);
/* oklch */ color: oklch(41.0% 0.086 114.0);
Tailwind
colors: {
  custom: {
    50: '#7f8051',
    500: '#4a4f0b',
    950: '#000000',
  },
}
SCSS
$custom: #4a4f0b;
$custom-light: #7f8051;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4f0b",
  "rgb": {
    "r": 74,
    "g": 79,
    "b": 11
  },
  "hsl": {
    "h": 64.412,
    "s": 75.556,
    "l": 17.647
  },
  "oklch": {
    "l": 0.40968,
    "c": 0.08598,
    "h": 114
  },
  "luminance": 0.07072
}

Semantic roles & 50–950 ramp

primary
#4A4F0B
secondary
#322B8B
accent
#36F244
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0A0A02
muted
#7C7C78

Preview Lab

Preview with #4A4F0B

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

Preview Lab → · Contrast checker → · Palette generator →

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