#A8942E#A8942E

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

Color values

HEX#A8942E
RGBrgb(168, 148, 46)
HSLhsl(50, 57%, 42%)
HSVhsv(50, 73%, 66%)
CMYKcmyk(0%, 11.9%, 72.6%, 34.1%)
CIE-LABlab(61.40, -3.98, 53.77)
CIE-LCHlch(61.40, 53.92, 94.24°)
OKLaboklab(66.59% -0.0163 0.1193)
OKLCHoklch(66.59% 0.12 97.8)
XYZxyz(27.2328, 29.7033, 6.8831)
Luminance0.2970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8942E #2E42A8
analogous
#A8572E #A8942E #7FA82E
triadic
#A8942E #2EA894 #942EA8
tetradic
#A8942E #2EA857 #2E42A8 #A82E7F
square
#A8942E #2EA857 #2E42A8 #A82E7F
split-complementary
#A8942E #2E7FA8 #572EA8
monochromatic
#483F14 #786A21 #A8942E #CDB747 #DAC977

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8942E#FFFFFF#000000##000000
##A8942E1.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)
#A3901E
Deuteranopia (green-blind)
#A89734
Tritanopia (blue-blind)
#B58980
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a8942e;
/* rgb */ color: rgb(168, 148, 46);
/* oklch */ color: oklch(66.6% 0.120 97.8);
Tailwind
colors: {
  custom: {
    50: '#c5b36e',
    500: '#a8942e',
    950: '#000000',
  },
}
SCSS
$custom: #a8942e;
$custom-light: #c5b36e;
$custom-dark: #000000;
JSON
{
  "hex": "#a8942e",
  "rgb": {
    "r": 168,
    "g": 148,
    "b": 46
  },
  "hsl": {
    "h": 50.164,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.66589,
    "c": 0.12042,
    "h": 97.8
  },
  "luminance": 0.29702
}

Semantic roles & 50–950 ramp

primary
#A8942E
secondary
#707EC2
accent
#61E048
background
#FCFAF6
surface
#F8F5EC
border
#D1CFC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A8942E

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

Preview Lab → · Contrast checker → · Palette generator →

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