#A8A12A#A8A12A

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

Color values

HEX#A8A12A
RGBrgb(168, 161, 42)
HSLhsl(57, 60%, 41%)
HSVhsv(57, 75%, 66%)
CMYKcmyk(0%, 4.2%, 75%, 34.1%)
CIE-LABlab(64.95, -11.11, 58.67)
CIE-LCHlch(64.95, 59.71, 100.72°)
OKLaboklab(69.4% -0.0369 0.1289)
OKLCHoklch(69.4% 0.134 106)
XYZxyz(29.3124, 33.9828, 7.2053)
Luminance0.3398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A12A #2A31A8
analogous
#A8622A #A8A12A #70A82A
triadic
#A8A12A #2AA8A1 #A12AA8
tetradic
#A8A12A #2AA862 #2A31A8 #A82A70
square
#A8A12A #2AA862 #2A31A8 #A82A70
split-complementary
#A8A12A #2A70A8 #622AA8
monochromatic
#464312 #77721E #A8A12A #CFC740 #DBD671

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A12A#FFFFFF#000000##000000
##A8A12A1.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)
#AF9B11
Deuteranopia (green-blind)
#B2A033
Tritanopia (blue-blind)
#B5968A
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a8a12a;
/* rgb */ color: rgb(168, 161, 42);
/* oklch */ color: oklch(69.4% 0.134 106.0);
Tailwind
colors: {
  custom: {
    50: '#c5bc6d',
    500: '#a8a12a',
    950: '#000000',
  },
}
SCSS
$custom: #a8a12a;
$custom-light: #c5bc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a12a",
  "rgb": {
    "r": 168,
    "g": 161,
    "b": 42
  },
  "hsl": {
    "h": 56.667,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.69403,
    "c": 0.1341,
    "h": 106
  },
  "luminance": 0.33982
}

Semantic roles & 50–950 ramp

primary
#A8A12A
secondary
#6B70C3
accent
#4DE345
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A8A12A

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

Preview Lab → · Contrast checker → · Palette generator →

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