#4A4C0F#4A4C0F

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

Color values

HEX#4A4C0F
RGBrgb(74, 76, 15)
HSLhsl(62, 67%, 18%)
HSVhsv(62, 80%, 30%)
CMYKcmyk(2.6%, 0%, 80.3%, 70.2%)
CIE-LABlab(31.02, -9.33, 33.68)
CIE-LCHlch(31.02, 34.95, 105.48°)
OKLaboklab(40.21% -0.0291 0.0744)
OKLCHoklch(40.21% 0.08 111.4)
XYZxyz(5.4949, 6.6594, 1.4478)
Luminance0.0666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4C0F #110F4C
analogous
#4C2F0F #4A4C0F #2B4C0F
triadic
#4A4C0F #0F4A4C #4C0F4A
tetradic
#4A4C0F #0F4C2F #110F4C #4C0F2B
square
#4A4C0F #0F4C2F #110F4C #4C0F2B
split-complementary
#4A4C0F #0F2B4C #2F0F4C
monochromatic
#191A05 #191A05 #4A4C0F #7C7F19 #AEB223

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A4C0F#FFFFFF#000000##FFFFFF
##4A4C0F1.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)
#534804
Deuteranopia (green-blind)
#534A14
Tritanopia (blue-blind)
#504740
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4a4c0f;
/* rgb */ color: rgb(74, 76, 15);
/* oklch */ color: oklch(40.2% 0.080 111.4);
Tailwind
colors: {
  custom: {
    50: '#7f7d53',
    500: '#4a4c0f',
    950: '#000000',
  },
}
SCSS
$custom: #4a4c0f;
$custom-light: #7f7d53;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4c0f",
  "rgb": {
    "r": 74,
    "g": 76,
    "b": 15
  },
  "hsl": {
    "h": 61.967,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.40213,
    "c": 0.07986,
    "h": 111.4
  },
  "luminance": 0.06659
}

Semantic roles & 50–950 ramp

primary
#4A4C0F
secondary
#333186
accent
#3EEA44
background
#F7F7F4
surface
#EEEEE7
border
#C9C9C3
text
#0A0902
muted
#7C7B78

Preview Lab

Preview with #4A4C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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