#A8A12C#A8A12C

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

Color values

HEX#A8A12C
RGBrgb(168, 161, 44)
HSLhsl(57, 58%, 42%)
HSVhsv(57, 74%, 66%)
CMYKcmyk(0%, 4.2%, 73.8%, 34.1%)
CIE-LABlab(64.96, -11.02, 57.97)
CIE-LCHlch(64.96, 59.01, 100.76°)
OKLaboklab(69.42% -0.0364 0.1278)
OKLCHoklch(69.42% 0.133 105.9)
XYZxyz(29.3491, 33.9975, 7.3986)
Luminance0.3400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A12C #2C33A8
analogous
#A8632C #A8A12C #71A82C
triadic
#A8A12C #2CA8A1 #A12CA8
tetradic
#A8A12C #2CA863 #2C33A8 #A82C71
square
#A8A12C #2CA863 #2C33A8 #A82C71
split-complementary
#A8A12C #2C71A8 #632CA8
monochromatic
#474413 #78731F #A8A12C #CEC643 #DBD574

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A12C#FFFFFF#000000##000000
##A8A12C1.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)
#AF9B16
Deuteranopia (green-blind)
#B2A035
Tritanopia (blue-blind)
#B5968A
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a8a12c;
/* rgb */ color: rgb(168, 161, 44);
/* oklch */ color: oklch(69.4% 0.133 105.9);
Tailwind
colors: {
  custom: {
    50: '#c5bc6e',
    500: '#a8a12c',
    950: '#000000',
  },
}
SCSS
$custom: #a8a12c;
$custom-light: #c5bc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a12c",
  "rgb": {
    "r": 168,
    "g": 161,
    "b": 44
  },
  "hsl": {
    "h": 56.613,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.69416,
    "c": 0.13292,
    "h": 105.9
  },
  "luminance": 0.33996
}

Semantic roles & 50–950 ramp

primary
#A8A12C
secondary
#6E72C2
accent
#4FE246
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A12C

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

Preview Lab → · Contrast checker → · Palette generator →

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