#A8942C#A8942C

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

Color values

HEX#A8942C
RGBrgb(168, 148, 44)
HSLhsl(50, 58%, 42%)
HSVhsv(50, 74%, 66%)
CMYKcmyk(0%, 11.9%, 73.8%, 34.1%)
CIE-LABlab(61.38, -4.08, 54.54)
CIE-LCHlch(61.38, 54.69, 94.28°)
OKLaboklab(66.57% -0.0168 0.1206)
OKLCHoklch(66.57% 0.122 97.9)
XYZxyz(27.1943, 29.6879, 6.6803)
Luminance0.2969 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8942C #2C40A8
analogous
#A8562C #A8942C #7EA82C
triadic
#A8942C #2CA894 #942CA8
tetradic
#A8942C #2CA856 #2C40A8 #A82C7E
square
#A8942C #2CA856 #2C40A8 #A82C7E
split-complementary
#A8942C #2C7EA8 #562CA8
monochromatic
#473F13 #78691F #A8942C #CEB843 #DBCA74

Accessibility & contrast

On white

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

On black

6.94
#A8942C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A8942C
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8942C#FFFFFF#000000##000000
##A8942C1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3901B
Deuteranopia (green-blind)
#A89732
Tritanopia (blue-blind)
#B58980
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a8942c;
/* rgb */ color: rgb(168, 148, 44);
/* oklch */ color: oklch(66.6% 0.122 97.9);
Tailwind
colors: {
  custom: {
    50: '#c5b36c',
    500: '#a8942c',
    950: '#000000',
  },
}
SCSS
$custom: #a8942c;
$custom-light: #c5b36c;
$custom-dark: #000000;
JSON
{
  "hex": "#a8942c",
  "rgb": {
    "r": 168,
    "g": 148,
    "b": 44
  },
  "hsl": {
    "h": 50.323,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.66574,
    "c": 0.12172,
    "h": 97.9
  },
  "luminance": 0.29686
}

Semantic roles & 50–950 ramp

primary
#A8942C
secondary
#6E7BC2
accent
#5FE246
background
#FCFAF6
surface
#F9F5EC
border
#D2CFC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A8942C

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

Preview Lab → · Contrast checker → · Palette generator →

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