#A8A725#A8A725

#A8A725 is a light, vivid yellow. Relative luminance 0.361; OKLCH L 70.7% C 0.143 H 109.1°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#A8A725
RGBrgb(168, 167, 37)
HSLhsl(60, 64%, 40%)
HSVhsv(60, 78%, 66%)
CMYKcmyk(0%, 0.6%, 78%, 34.1%)
CIE-LABlab(66.59, -14.44, 61.82)
CIE-LCHlch(66.59, 63.49, 103.14°)
OKLaboklab(70.71% -0.0466 0.1347)
OKLCHoklch(70.71% 0.143 109.1)
XYZxyz(30.3023, 36.0968, 7.1211)
Luminance0.3610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A725 #2526A8
analogous
#A86525 #A8A725 #67A825
triadic
#A8A725 #25A8A7 #A725A8
tetradic
#A8A725 #25A865 #2526A8 #A82567
square
#A8A725 #25A865 #2526A8 #A82567
split-complementary
#A8A725 #2567A8 #6525A8
monochromatic
#44430F #76751A #A8A725 #D3D237 #DEDD69

Accessibility & contrast

On white

2.55
#A8A725 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#A8A725 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A725
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A725#FFFFFF#000000##000000
##A8A7251.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#B7A430
Tritanopia (blue-blind)
#B49C8F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a8a725;
/* rgb */ color: rgb(168, 167, 37);
/* oklch */ color: oklch(70.7% 0.143 109.1);
Tailwind
colors: {
  custom: {
    50: '#c6c06b',
    500: '#a8a725',
    950: '#000000',
  },
}
SCSS
$custom: #a8a725;
$custom-light: #c6c06b;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a725",
  "rgb": {
    "r": 168,
    "g": 167,
    "b": 37
  },
  "hsl": {
    "h": 59.542,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.70707,
    "c": 0.14254,
    "h": 109.1
  },
  "luminance": 0.36096
}

Semantic roles & 50–950 ramp

primary
#A8A725
secondary
#6565C4
accent
#42E741
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A8A725

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

Preview Lab → · Contrast checker → · Palette generator →

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