#4A4C0B#4A4C0B

#4A4C0B is a dark, moderate yellow. Relative luminance 0.066; OKLCH L 40.2% C 0.082 H 111.4°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#4A4C0B
RGBrgb(74, 76, 11)
HSLhsl(62, 75%, 17%)
HSVhsv(62, 86%, 30%)
CMYKcmyk(2.6%, 0%, 85.5%, 70.2%)
CIE-LABlab(30.99, -9.53, 35.17)
CIE-LCHlch(30.99, 36.44, 105.16°)
OKLaboklab(40.19% -0.0301 0.0767)
OKLCHoklch(40.19% 0.082 111.4)
XYZxyz(5.4691, 6.6490, 1.3118)
Luminance0.0665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4C0B #0D0B4C
analogous
#4C2E0B #4A4C0B #2A4C0B
triadic
#4A4C0B #0B4A4C #4C0B4A
tetradic
#4A4C0B #0B4C2E #0D0B4C #4C0B2A
square
#4A4C0B #0B4C2E #0D0B4C #4C0B2A
split-complementary
#4A4C0B #0B2A4C #2E0B4C
monochromatic
#1A1B04 #1A1B04 #4A4C0B #7E8113 #B2B71A

Accessibility & contrast

On white

9.01
#4A4C0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4A4C0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4C0B
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4C0B#FFFFFF#000000##FFFFFF
##4A4C0B1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534800
Deuteranopia (green-blind)
#534A11
Tritanopia (blue-blind)
#504740
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4a4c0b;
/* rgb */ color: rgb(74, 76, 11);
/* oklch */ color: oklch(40.2% 0.082 111.4);
Tailwind
colors: {
  custom: {
    50: '#7f7d51',
    500: '#4a4c0b',
    950: '#000000',
  },
}
SCSS
$custom: #4a4c0b;
$custom-light: #7f7d51;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4c0b",
  "rgb": {
    "r": 74,
    "g": 76,
    "b": 11
  },
  "hsl": {
    "h": 61.846,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.40186,
    "c": 0.08238,
    "h": 111.4
  },
  "luminance": 0.06649
}

Semantic roles & 50–950 ramp

primary
#4A4C0B
secondary
#2E2B88
accent
#36F13C
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0A0902
muted
#7C7B78

Preview Lab

Preview with #4A4C0B

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

Preview Lab → · Contrast checker → · Palette generator →

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