#A8942A#A8942A

#A8942A is a light, vivid yellow. Relative luminance 0.297; OKLCH L 66.6% C 0.123 H 98.1°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#A8942A
RGBrgb(168, 148, 42)
HSLhsl(50, 60%, 41%)
HSVhsv(50, 75%, 66%)
CMYKcmyk(0%, 11.9%, 75%, 34.1%)
CIE-LABlab(61.37, -4.17, 55.28)
CIE-LCHlch(61.37, 55.44, 94.32°)
OKLaboklab(66.56% -0.0173 0.1217)
OKLCHoklch(66.56% 0.123 98.1)
XYZxyz(27.1576, 29.6732, 6.4871)
Luminance0.2967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8942A #2A3EA8
analogous
#A8552A #A8942A #7DA82A
triadic
#A8942A #2AA894 #942AA8
tetradic
#A8942A #2AA855 #2A3EA8 #A82A7D
square
#A8942A #2AA855 #2A3EA8 #A82A7D
split-complementary
#A8942A #2A7DA8 #552AA8
monochromatic
#463E12 #77691E #A8942A #CFB840 #DBCB71

Accessibility & contrast

On white

3.03
#A8942A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#A8942A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A8942A
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8942A#FFFFFF#000000##000000
##A8942A1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39017
Deuteranopia (green-blind)
#A89731
Tritanopia (blue-blind)
#B5897F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a8942a;
/* rgb */ color: rgb(168, 148, 42);
/* oklch */ color: oklch(66.6% 0.123 98.1);
Tailwind
colors: {
  custom: {
    50: '#c6b36b',
    500: '#a8942a',
    950: '#000000',
  },
}
SCSS
$custom: #a8942a;
$custom-light: #c6b36b;
$custom-dark: #000000;
JSON
{
  "hex": "#a8942a",
  "rgb": {
    "r": 168,
    "g": 148,
    "b": 42
  },
  "hsl": {
    "h": 50.476,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.6656,
    "c": 0.12296,
    "h": 98.1
  },
  "luminance": 0.29672
}

Semantic roles & 50–950 ramp

primary
#A8942A
secondary
#6B79C3
accent
#5EE345
background
#FCFAF6
surface
#F9F5EC
border
#D2CFC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A8942A

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

Preview Lab → · Contrast checker → · Palette generator →

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