#A8A12E#A8A12E

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

Color values

HEX#A8A12E
RGBrgb(168, 161, 46)
HSLhsl(57, 57%, 42%)
HSVhsv(57, 73%, 66%)
CMYKcmyk(0%, 4.2%, 72.6%, 34.1%)
CIE-LABlab(64.97, -10.92, 57.26)
CIE-LCHlch(64.97, 58.29, 100.80°)
OKLaboklab(69.43% -0.0359 0.1267)
OKLCHoklch(69.43% 0.132 105.8)
XYZxyz(29.3876, 34.0129, 7.6014)
Luminance0.3401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A12E #2E35A8
analogous
#A8642E #A8A12E #72A82E
triadic
#A8A12E #2EA8A1 #A12EA8
tetradic
#A8A12E #2EA864 #2E35A8 #A82E72
square
#A8A12E #2EA864 #2E35A8 #A82E72
split-complementary
#A8A12E #2E72A8 #642EA8
monochromatic
#484514 #787321 #A8A12E #CDC547 #DAD477

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A12E#FFFFFF#000000##000000
##A8A12E1.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)
#AF9B1A
Deuteranopia (green-blind)
#B2A036
Tritanopia (blue-blind)
#B5968B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a8a12e;
/* rgb */ color: rgb(168, 161, 46);
/* oklch */ color: oklch(69.4% 0.132 105.8);
Tailwind
colors: {
  custom: {
    50: '#c5bc6f',
    500: '#a8a12e',
    950: '#000000',
  },
}
SCSS
$custom: #a8a12e;
$custom-light: #c5bc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a12e",
  "rgb": {
    "r": 168,
    "g": 161,
    "b": 46
  },
  "hsl": {
    "h": 56.557,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.6943,
    "c": 0.13168,
    "h": 105.8
  },
  "luminance": 0.34012
}

Semantic roles & 50–950 ramp

primary
#A8A12E
secondary
#7075C2
accent
#50E048
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A12E

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

Preview Lab → · Contrast checker → · Palette generator →

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