#A8A03C#A8A03C

#A8A03C is a light, vivid yellow. Relative luminance 0.338; OKLCH L 69.3% C 0.121 H 104.7°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#A8A03C
RGBrgb(168, 160, 60)
HSLhsl(56, 47%, 45%)
HSVhsv(56, 64%, 66%)
CMYKcmyk(0%, 4.8%, 64.3%, 34.1%)
CIE-LABlab(64.80, -9.60, 51.42)
CIE-LCHlch(64.80, 52.30, 100.58°)
OKLaboklab(69.32% -0.0307 0.1167)
OKLCHoklch(69.32% 0.121 104.7)
XYZxyz(29.5360, 33.7937, 9.2411)
Luminance0.3379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A03C #3C44A8
analogous
#A86A3C #A8A03C #7AA83C
triadic
#A8A03C #3CA8A0 #A03CA8
tetradic
#A8A03C #3CA86A #3C44A8 #A83C7A
square
#A8A03C #3CA86A #3C44A8 #A83C7A
split-complementary
#A8A03C #3C7AA8 #6A3CA8
monochromatic
#4E4A1C #7B752C #A8A03C #C5BD5C #D5CF89

Accessibility & contrast

On white

2.71
#A8A03C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#A8A03C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A03C
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A03C#FFFFFF#000000##000000
##A8A03C1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9B30
Deuteranopia (green-blind)
#B09F42
Tritanopia (blue-blind)
#B4968B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a8a03c;
/* rgb */ color: rgb(168, 160, 60);
/* oklch */ color: oklch(69.3% 0.121 104.7);
Tailwind
colors: {
  custom: {
    50: '#c5bb77',
    500: '#a8a03c',
    950: '#000000',
  },
}
SCSS
$custom: #a8a03c;
$custom-light: #c5bb77;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a03c",
  "rgb": {
    "r": 168,
    "g": 160,
    "b": 60
  },
  "hsl": {
    "h": 55.556,
    "s": 47.368,
    "l": 44.706
  },
  "oklch": {
    "l": 0.69324,
    "c": 0.12071,
    "h": 104.7
  },
  "luminance": 0.33793
}

Semantic roles & 50–950 ramp

primary
#A8A03C
secondary
#8085BF
accent
#5BD751
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131109
muted
#82807B

Preview Lab

Preview with #A8A03C

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

Preview Lab → · Contrast checker → · Palette generator →

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