#A8A121#A8A121

#A8A121 is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.4% C 0.139 H 106.2°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#A8A121
RGBrgb(168, 161, 33)
HSLhsl(57, 67%, 39%)
HSVhsv(57, 80%, 66%)
CMYKcmyk(0%, 4.2%, 80.4%, 34.1%)
CIE-LABlab(64.90, -11.46, 61.52)
CIE-LCHlch(64.90, 62.58, 100.55°)
OKLaboklab(69.35% -0.0386 0.1333)
OKLCHoklch(69.35% 0.139 106.2)
XYZxyz(29.1691, 33.9255, 6.4503)
Luminance0.3392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A121 #2128A8
analogous
#A85E21 #A8A121 #6CA821
triadic
#A8A121 #21A8A1 #A121A8
tetradic
#A8A121 #21A85E #2128A8 #A8216C
square
#A8A121 #21A85E #2128A8 #A8216C
split-complementary
#A8A121 #216CA8 #5E21A8
monochromatic
#423F0D #757017 #A8A121 #D6CE30 #E0DA63

Accessibility & contrast

On white

2.70
#A8A121 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#A8A121 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A121
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A121#FFFFFF#000000##000000
##A8A1211.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#B2A02C
Tritanopia (blue-blind)
#B5968A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a8a121;
/* rgb */ color: rgb(168, 161, 33);
/* oklch */ color: oklch(69.4% 0.139 106.2);
Tailwind
colors: {
  custom: {
    50: '#c6bc69',
    500: '#a8a121',
    950: '#000000',
  },
}
SCSS
$custom: #a8a121;
$custom-light: #c6bc69;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a121",
  "rgb": {
    "r": 168,
    "g": 161,
    "b": 33
  },
  "hsl": {
    "h": 56.889,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.69352,
    "c": 0.13879,
    "h": 106.2
  },
  "luminance": 0.33924
}

Semantic roles & 50–950 ramp

primary
#A8A121
secondary
#5F65C5
accent
#47EA3E
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #A8A121

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

Preview Lab → · Contrast checker → · Palette generator →

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