#A8951F#A8951F

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

Color values

HEX#A8951F
RGBrgb(168, 149, 31)
HSLhsl(52, 69%, 39%)
HSVhsv(52, 82%, 66%)
CMYKcmyk(0%, 11.3%, 81.5%, 34.1%)
CIE-LABlab(61.59, -5.15, 59.21)
CIE-LCHlch(61.59, 59.43, 94.97°)
OKLaboklab(66.71% -0.0211 0.1279)
OKLCHoklch(66.71% 0.13 99.4)
XYZxyz(27.1446, 29.9200, 5.6414)
Luminance0.2992 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8951F #1F32A8
analogous
#A8511F #A8951F #77A81F
triadic
#A8951F #1FA895 #951FA8
tetradic
#A8951F #1FA851 #1F32A8 #A81F77
square
#A8951F #1FA851 #1F32A8 #A81F77
split-complementary
#A8951F #1F77A8 #511FA8
monochromatic
#41390C #746715 #A8951F #D8C02C #E2D060

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8951F#FFFFFF#000000##000000
##A8951F1.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)
#AA9828
Tritanopia (blue-blind)
#B6897F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a8951f;
/* rgb */ color: rgb(168, 149, 31);
/* oklch */ color: oklch(66.7% 0.130 99.4);
Tailwind
colors: {
  custom: {
    50: '#c6b366',
    500: '#a8951f',
    950: '#000000',
  },
}
SCSS
$custom: #a8951f;
$custom-light: #c6b366;
$custom-dark: #000000;
JSON
{
  "hex": "#a8951f",
  "rgb": {
    "r": 168,
    "g": 149,
    "b": 31
  },
  "hsl": {
    "h": 51.679,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.66711,
    "c": 0.12964,
    "h": 99.4
  },
  "luminance": 0.29919
}

Semantic roles & 50–950 ramp

primary
#A8951F
secondary
#5D6BC6
accent
#54EC3C
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#141106
muted
#82807A

Preview Lab

Preview with #A8951F

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

Preview Lab → · Contrast checker → · Palette generator →

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