#A8A120#A8A120

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

Color values

HEX#A8A120
RGBrgb(168, 161, 32)
HSLhsl(57, 68%, 39%)
HSVhsv(57, 81%, 66%)
CMYKcmyk(0%, 4.2%, 81%, 34.1%)
CIE-LABlab(64.90, -11.50, 61.81)
CIE-LCHlch(64.90, 62.87, 100.54°)
OKLaboklab(69.35% -0.0388 0.1337)
OKLCHoklch(69.35% 0.139 106.2)
XYZxyz(29.1553, 33.9200, 6.3777)
Luminance0.3392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A120 #2027A8
analogous
#A85D20 #A8A120 #6BA820
triadic
#A8A120 #20A8A1 #A120A8
tetradic
#A8A120 #20A85D #2027A8 #A8206B
square
#A8A120 #20A85D #2027A8 #A8206B
split-complementary
#A8A120 #206BA8 #5D20A8
monochromatic
#413E0C #757016 #A8A120 #D7CE2E #E1DA61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A120#FFFFFF#000000##000000
##A8A1201.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: #a8a120;
/* rgb */ color: rgb(168, 161, 32);
/* oklch */ color: oklch(69.3% 0.139 106.2);
Tailwind
colors: {
  custom: {
    50: '#c6bc68',
    500: '#a8a120',
    950: '#000000',
  },
}
SCSS
$custom: #a8a120;
$custom-light: #c6bc68;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a120",
  "rgb": {
    "r": 168,
    "g": 161,
    "b": 32
  },
  "hsl": {
    "h": 56.912,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.69347,
    "c": 0.13924,
    "h": 106.2
  },
  "luminance": 0.33919
}

Semantic roles & 50–950 ramp

primary
#A8A120
secondary
#5E63C6
accent
#46EB3D
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #A8A120

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

Preview Lab → · Contrast checker → · Palette generator →

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