#4A510E#4A510E

#4A510E is a dark, moderate yellow. Relative luminance 0.074; OKLCH L 41.5% C 0.087 H 115.6°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#4A510E
RGBrgb(74, 81, 14)
HSLhsl(66, 71%, 19%)
HSVhsv(66, 83%, 32%)
CMYKcmyk(8.6%, 0%, 82.7%, 68.2%)
CIE-LABlab(32.64, -12.29, 35.60)
CIE-LCHlch(32.64, 37.66, 109.05°)
OKLaboklab(41.51% -0.0374 0.0782)
OKLCHoklch(41.51% 0.087 115.6)
XYZxyz(5.8459, 7.3725, 1.5305)
Luminance0.0737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A510E #150E51
analogous
#51360E #4A510E #28510E
triadic
#4A510E #0E4A51 #510E4A
tetradic
#4A510E #0E5136 #150E51 #510E28
square
#4A510E #0E5136 #150E51 #510E28
split-complementary
#4A510E #0E2851 #360E51
monochromatic
#181A05 #1A1D05 #4A510E #7A8517 #A9B920

Accessibility & contrast

On white

8.49
#4A510E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4A510E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A510E
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A510E#FFFFFF#000000##FFFFFF
##4A510E1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C01
Deuteranopia (green-blind)
#574D14
Tritanopia (blue-blind)
#4F4C44
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4a510e;
/* rgb */ color: rgb(74, 81, 14);
/* oklch */ color: oklch(41.5% 0.087 115.6);
Tailwind
colors: {
  custom: {
    50: '#7f8153',
    500: '#4a510e',
    950: '#000000',
  },
}
SCSS
$custom: #4a510e;
$custom-light: #7f8153;
$custom-dark: #000000;
JSON
{
  "hex": "#4a510e",
  "rgb": {
    "r": 74,
    "g": 81,
    "b": 14
  },
  "hsl": {
    "h": 66.269,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.41511,
    "c": 0.0867,
    "h": 115.6
  },
  "luminance": 0.07372
}

Semantic roles & 50–950 ramp

primary
#4A510E
secondary
#392F8C
accent
#3AED4D
background
#F7F7F4
surface
#EEEEE7
border
#C9C9C3
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4A510E

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

Preview Lab → · Contrast checker → · Palette generator →

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