#A8A03B#A8A03B

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

Color values

HEX#A8A03B
RGBrgb(168, 160, 59)
HSLhsl(56, 48%, 45%)
HSVhsv(56, 65%, 66%)
CMYKcmyk(0%, 4.8%, 64.9%, 34.1%)
CIE-LABlab(64.79, -9.67, 51.84)
CIE-LCHlch(64.79, 52.73, 100.56°)
OKLaboklab(69.31% -0.031 0.1175)
OKLCHoklch(69.31% 0.122 104.8)
XYZxyz(29.5098, 33.7833, 9.1032)
Luminance0.3378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A03B #3B43A8
analogous
#A8693B #A8A03B #7AA83B
triadic
#A8A03B #3BA8A0 #A03BA8
tetradic
#A8A03B #3BA869 #3B43A8 #A83B7A
square
#A8A03B #3BA869 #3B43A8 #A83B7A
split-complementary
#A8A03B #3B7AA8 #693BA8
monochromatic
#4D4A1B #7B752B #A8A03B #C5BE5B #D5D088

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A03B#FFFFFF#000000##000000
##A8A03B1.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)
#AE9B2E
Deuteranopia (green-blind)
#B09F41
Tritanopia (blue-blind)
#B4968B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a8a03b;
/* rgb */ color: rgb(168, 160, 59);
/* oklch */ color: oklch(69.3% 0.121 104.8);
Tailwind
colors: {
  custom: {
    50: '#c5bb76',
    500: '#a8a03b',
    950: '#000000',
  },
}
SCSS
$custom: #a8a03b;
$custom-light: #c5bb76;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a03b",
  "rgb": {
    "r": 168,
    "g": 160,
    "b": 59
  },
  "hsl": {
    "h": 55.596,
    "s": 48.018,
    "l": 44.51
  },
  "oklch": {
    "l": 0.69314,
    "c": 0.1215,
    "h": 104.8
  },
  "luminance": 0.33782
}

Semantic roles & 50–950 ramp

primary
#A8A03B
secondary
#7F84C0
accent
#5AD850
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131109
muted
#82807B

Preview Lab

Preview with #A8A03B

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

Preview Lab → · Contrast checker → · Palette generator →

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