#A8A02C#A8A02C

#A8A02C is a light, vivid yellow. Relative luminance 0.336; OKLCH L 69.2% C 0.132 H 105.4°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#A8A02C
RGBrgb(168, 160, 44)
HSLhsl(56, 58%, 42%)
HSVhsv(56, 74%, 66%)
CMYKcmyk(0%, 4.8%, 73.8%, 34.1%)
CIE-LABlab(64.68, -10.49, 57.71)
CIE-LCHlch(64.68, 58.66, 100.30°)
OKLaboklab(69.19% -0.0349 0.1273)
OKLCHoklch(69.19% 0.132 105.4)
XYZxyz(29.1751, 33.6494, 7.3406)
Luminance0.3365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A02C #2C34A8
analogous
#A8622C #A8A02C #72A82C
triadic
#A8A02C #2CA8A0 #A02CA8
tetradic
#A8A02C #2CA862 #2C34A8 #A82C72
square
#A8A02C #2CA862 #2C34A8 #A82C72
split-complementary
#A8A02C #2C72A8 #622CA8
monochromatic
#474413 #78721F #A8A02C #CEC543 #DBD474

Accessibility & contrast

On white

2.72
#A8A02C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#A8A02C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A02C
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A02C#FFFFFF#000000##000000
##A8A02C1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A16
Deuteranopia (green-blind)
#B19F34
Tritanopia (blue-blind)
#B5958A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a8a02c;
/* rgb */ color: rgb(168, 160, 44);
/* oklch */ color: oklch(69.2% 0.132 105.4);
Tailwind
colors: {
  custom: {
    50: '#c5bb6e',
    500: '#a8a02c',
    950: '#000000',
  },
}
SCSS
$custom: #a8a02c;
$custom-light: #c5bb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a02c",
  "rgb": {
    "r": 168,
    "g": 160,
    "b": 44
  },
  "hsl": {
    "h": 56.129,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.69195,
    "c": 0.13198,
    "h": 105.4
  },
  "luminance": 0.33648
}

Semantic roles & 50–950 ramp

primary
#A8A02C
secondary
#6E73C2
accent
#50E246
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B

Preview Lab

Preview with #A8A02C

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

Preview Lab → · Contrast checker → · Palette generator →

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