#A8A12D#A8A12D

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

Color values

HEX#A8A12D
RGBrgb(168, 161, 45)
HSLhsl(57, 58%, 42%)
HSVhsv(57, 73%, 66%)
CMYKcmyk(0%, 4.2%, 73.2%, 34.1%)
CIE-LABlab(64.97, -10.97, 57.62)
CIE-LCHlch(64.97, 58.65, 100.78°)
OKLaboklab(69.42% -0.0362 0.1273)
OKLCHoklch(69.42% 0.132 105.9)
XYZxyz(29.3682, 34.0051, 7.4988)
Luminance0.3400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A12D #2D34A8
analogous
#A8642D #A8A12D #72A82D
triadic
#A8A12D #2DA8A1 #A12DA8
tetradic
#A8A12D #2DA864 #2D34A8 #A82D72
square
#A8A12D #2DA864 #2D34A8 #A82D72
split-complementary
#A8A12D #2D72A8 #642DA8
monochromatic
#474413 #787320 #A8A12D #CDC545 #DAD475

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A12D#FFFFFF#000000##000000
##A8A12D1.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)
#AF9B18
Deuteranopia (green-blind)
#B2A035
Tritanopia (blue-blind)
#B5968B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a8a12d;
/* rgb */ color: rgb(168, 161, 45);
/* oklch */ color: oklch(69.4% 0.132 105.9);
Tailwind
colors: {
  custom: {
    50: '#c5bc6e',
    500: '#a8a12d',
    950: '#000000',
  },
}
SCSS
$custom: #a8a12d;
$custom-light: #c5bc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a12d",
  "rgb": {
    "r": 168,
    "g": 161,
    "b": 45
  },
  "hsl": {
    "h": 56.585,
    "s": 57.746,
    "l": 41.765
  },
  "oklch": {
    "l": 0.69423,
    "c": 0.13231,
    "h": 105.9
  },
  "luminance": 0.34004
}

Semantic roles & 50–950 ramp

primary
#A8A12D
secondary
#6F74C2
accent
#50E147
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A12D

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

Preview Lab → · Contrast checker → · Palette generator →

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