#A8A12F#A8A12F

#A8A12F is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.4% C 0.131 H 105.8°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#A8A12F
RGBrgb(168, 161, 47)
HSLhsl(57, 56%, 42%)
HSVhsv(57, 72%, 66%)
CMYKcmyk(0%, 4.2%, 72%, 34.1%)
CIE-LABlab(64.98, -10.87, 56.89)
CIE-LCHlch(64.98, 57.92, 100.82°)
OKLaboklab(69.44% -0.0357 0.1261)
OKLCHoklch(69.44% 0.131 105.8)
XYZxyz(29.4076, 34.0209, 7.7064)
Luminance0.3402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A12F #2F36A8
analogous
#A8652F #A8A12F #73A82F
triadic
#A8A12F #2FA8A1 #A12FA8
tetradic
#A8A12F #2FA865 #2F36A8 #A82F73
square
#A8A12F #2FA865 #2F36A8 #A82F73
split-complementary
#A8A12F #2F73A8 #652FA8
monochromatic
#484514 #787322 #A8A12F #CCC448 #D9D478

Accessibility & contrast

On white

2.69
#A8A12F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#A8A12F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A12F
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A12F#FFFFFF#000000##000000
##A8A12F1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1B
Deuteranopia (green-blind)
#B2A037
Tritanopia (blue-blind)
#B4968B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a8a12f;
/* rgb */ color: rgb(168, 161, 47);
/* oklch */ color: oklch(69.4% 0.131 105.8);
Tailwind
colors: {
  custom: {
    50: '#c5bc6f',
    500: '#a8a12f',
    950: '#000000',
  },
}
SCSS
$custom: #a8a12f;
$custom-light: #c5bc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a12f",
  "rgb": {
    "r": 168,
    "g": 161,
    "b": 47
  },
  "hsl": {
    "h": 56.529,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.69437,
    "c": 0.13105,
    "h": 105.8
  },
  "luminance": 0.3402
}

Semantic roles & 50–950 ramp

primary
#A8A12F
secondary
#7176C1
accent
#51E048
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A12F

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

Preview Lab → · Contrast checker → · Palette generator →

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