#A8AF25#A8AF25

#A8AF25 is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.5% C 0.151 H 112.6°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#A8AF25
RGBrgb(168, 175, 37)
HSLhsl(63, 65%, 42%)
HSVhsv(63, 79%, 69%)
CMYKcmyk(4%, 0%, 78.9%, 31.4%)
CIE-LABlab(68.84, -18.52, 63.84)
CIE-LCHlch(68.84, 66.47, 106.18°)
OKLaboklab(72.5% -0.058 0.139)
OKLCHoklch(72.5% 0.151 112.6)
XYZxyz(31.8134, 39.1191, 7.6248)
Luminance0.3912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8AF25 #2C25AF
analogous
#AF7125 #A8AF25 #63AF25
triadic
#A8AF25 #25A8AF #AF25A8
tetradic
#A8AF25 #25AF71 #2C25AF #AF2563
square
#A8AF25 #25AF71 #2C25AF #AF2563
split-complementary
#A8AF25 #2563AF #7125AF
monochromatic
#474A10 #787C1A #A8AF25 #CED63C #DBE06E

Accessibility & contrast

On white

2.38
#A8AF25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#A8AF25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8AF25
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8AF25#FFFFFF#000000##000000
##A8AF251.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA600
Deuteranopia (green-blind)
#BDA932
Tritanopia (blue-blind)
#B4A496
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a8af25;
/* rgb */ color: rgb(168, 175, 37);
/* oklch */ color: oklch(72.5% 0.151 112.6);
Tailwind
colors: {
  custom: {
    50: '#c6c66c',
    500: '#a8af25',
    950: '#000000',
  },
}
SCSS
$custom: #a8af25;
$custom-light: #c6c66c;
$custom-dark: #000000;
JSON
{
  "hex": "#a8af25",
  "rgb": {
    "r": 168,
    "g": 175,
    "b": 37
  },
  "hsl": {
    "h": 63.043,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.72502,
    "c": 0.1506,
    "h": 112.6
  },
  "luminance": 0.39118
}

Semantic roles & 50–950 ramp

primary
#A8AF25
secondary
#6E69C7
accent
#40E848
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A8AF25

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

Preview Lab → · Contrast checker → · Palette generator →

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