#A8951D#A8951D

#A8951D is a light, vivid yellow. Relative luminance 0.299; OKLCH L 66.7% C 0.131 H 99.5°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#A8951D
RGBrgb(168, 149, 29)
HSLhsl(52, 71%, 39%)
HSVhsv(52, 83%, 66%)
CMYKcmyk(0%, 11.3%, 82.7%, 34.1%)
CIE-LABlab(61.58, -5.21, 59.79)
CIE-LCHlch(61.58, 60.02, 94.98°)
OKLaboklab(66.7% -0.0215 0.1288)
OKLCHoklch(66.7% 0.131 99.5)
XYZxyz(27.1191, 29.9098, 5.5069)
Luminance0.2991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8951D #1D30A8
analogous
#A8501D #A8951D #75A81D
triadic
#A8951D #1DA895 #951DA8
tetradic
#A8951D #1DA850 #1D30A8 #A81D75
square
#A8951D #1DA850 #1D30A8 #A81D75
split-complementary
#A8951D #1D75A8 #501DA8
monochromatic
#40380B #746714 #A8951D #DAC228 #E3D15C

Accessibility & contrast

On white

3.01
#A8951D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#A8951D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A8951D
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8951D#FFFFFF#000000##000000
##A8951D1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49100
Deuteranopia (green-blind)
#AA9827
Tritanopia (blue-blind)
#B6897F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a8951d;
/* rgb */ color: rgb(168, 149, 29);
/* oklch */ color: oklch(66.7% 0.131 99.5);
Tailwind
colors: {
  custom: {
    50: '#c6b366',
    500: '#a8951d',
    950: '#000000',
  },
}
SCSS
$custom: #a8951d;
$custom-light: #c6b366;
$custom-dark: #000000;
JSON
{
  "hex": "#a8951d",
  "rgb": {
    "r": 168,
    "g": 149,
    "b": 29
  },
  "hsl": {
    "h": 51.799,
    "s": 70.558,
    "l": 38.627
  },
  "oklch": {
    "l": 0.66701,
    "c": 0.13054,
    "h": 99.5
  },
  "luminance": 0.29908
}

Semantic roles & 50–950 ramp

primary
#A8951D
secondary
#5A69C7
accent
#53ED3A
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#141106
muted
#82807A

Preview Lab

Preview with #A8951D

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

Preview Lab → · Contrast checker → · Palette generator →

#A8951D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva