#A8A12B#A8A12B

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

Color values

HEX#A8A12B
RGBrgb(168, 161, 43)
HSLhsl(57, 59%, 41%)
HSVhsv(57, 74%, 66%)
CMYKcmyk(0%, 4.2%, 74.4%, 34.1%)
CIE-LABlab(64.95, -11.06, 58.33)
CIE-LCHlch(64.95, 59.36, 100.74°)
OKLaboklab(69.41% -0.0366 0.1284)
OKLCHoklch(69.41% 0.134 105.9)
XYZxyz(29.3306, 33.9901, 7.3008)
Luminance0.3399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A12B #2B32A8
analogous
#A8632B #A8A12B #71A82B
triadic
#A8A12B #2BA8A1 #A12BA8
tetradic
#A8A12B #2BA863 #2B32A8 #A82B71
square
#A8A12B #2BA863 #2B32A8 #A82B71
split-complementary
#A8A12B #2B71A8 #632BA8
monochromatic
#474412 #77721F #A8A12B #CFC742 #DBD572

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A12B#FFFFFF#000000##000000
##A8A12B1.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)
#AF9B13
Deuteranopia (green-blind)
#B2A034
Tritanopia (blue-blind)
#B5968A
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a8a12b;
/* rgb */ color: rgb(168, 161, 43);
/* oklch */ color: oklch(69.4% 0.134 105.9);
Tailwind
colors: {
  custom: {
    50: '#c5bc6d',
    500: '#a8a12b',
    950: '#000000',
  },
}
SCSS
$custom: #a8a12b;
$custom-light: #c5bc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a12b",
  "rgb": {
    "r": 168,
    "g": 161,
    "b": 43
  },
  "hsl": {
    "h": 56.64,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.69409,
    "c": 0.13351,
    "h": 105.9
  },
  "luminance": 0.33989
}

Semantic roles & 50–950 ramp

primary
#A8A12B
secondary
#6C71C2
accent
#4EE245
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A12B

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

Preview Lab → · Contrast checker → · Palette generator →

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