#A8A02B#A8A02B

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

Color values

HEX#A8A02B
RGBrgb(168, 160, 43)
HSLhsl(56, 59%, 41%)
HSVhsv(56, 74%, 66%)
CMYKcmyk(0%, 4.8%, 74.4%, 34.1%)
CIE-LABlab(64.68, -10.54, 58.06)
CIE-LCHlch(64.68, 59.01, 100.28°)
OKLaboklab(69.19% -0.0352 0.1278)
OKLCHoklch(69.19% 0.133 105.4)
XYZxyz(29.1565, 33.6420, 7.2428)
Luminance0.3364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A02B #2B33A8
analogous
#A8622B #A8A02B #72A82B
triadic
#A8A02B #2BA8A0 #A02BA8
tetradic
#A8A02B #2BA862 #2B33A8 #A82B72
square
#A8A02B #2BA862 #2B33A8 #A82B72
split-complementary
#A8A02B #2B72A8 #622BA8
monochromatic
#474312 #77721F #A8A02B #CFC642 #DBD472

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A02B#FFFFFF#000000##000000
##A8A02B1.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)
#AE9A14
Deuteranopia (green-blind)
#B19F34
Tritanopia (blue-blind)
#B5958A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a8a02b;
/* rgb */ color: rgb(168, 160, 43);
/* oklch */ color: oklch(69.2% 0.133 105.4);
Tailwind
colors: {
  custom: {
    50: '#c5bb6d',
    500: '#a8a02b',
    950: '#000000',
  },
}
SCSS
$custom: #a8a02b;
$custom-light: #c5bb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a02b",
  "rgb": {
    "r": 168,
    "g": 160,
    "b": 43
  },
  "hsl": {
    "h": 56.16,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.69188,
    "c": 0.13258,
    "h": 105.4
  },
  "luminance": 0.33641
}

Semantic roles & 50–950 ramp

primary
#A8A02B
secondary
#6C72C2
accent
#4FE245
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B

Preview Lab

Preview with #A8A02B

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

Preview Lab → · Contrast checker → · Palette generator →

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