#A7AF25#A7AF25

#A7AF25 is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.4% C 0.151 H 113.1°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#A7AF25
RGBrgb(167, 175, 37)
HSLhsl(63, 65%, 42%)
HSVhsv(63, 79%, 69%)
CMYKcmyk(4.6%, 0%, 78.9%, 31.4%)
CIE-LABlab(68.76, -18.95, 63.73)
CIE-LCHlch(68.76, 66.49, 106.56°)
OKLaboklab(72.42% -0.0591 0.1388)
OKLCHoklch(72.42% 0.151 113.1)
XYZxyz(31.6013, 39.0097, 7.6149)
Luminance0.3901 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AF25 #2D25AF
analogous
#AF7225 #A7AF25 #62AF25
triadic
#A7AF25 #25A7AF #AF25A7
tetradic
#A7AF25 #25AF72 #2D25AF #AF2562
square
#A7AF25 #25AF72 #2D25AF #AF2562
split-complementary
#A7AF25 #2562AF #7225AF
monochromatic
#474A10 #777C1A #A7AF25 #CDD63C #DAE06E

Accessibility & contrast

On white

2.39
#A7AF25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#A7AF25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7AF25
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7AF25#FFFFFF#000000##000000
##A7AF251.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7af25;
/* rgb */ color: rgb(167, 175, 37);
/* oklch */ color: oklch(72.4% 0.151 113.1);
Tailwind
colors: {
  custom: {
    50: '#c5c66c',
    500: '#a7af25',
    950: '#000000',
  },
}
SCSS
$custom: #a7af25;
$custom-light: #c5c66c;
$custom-dark: #000000;
JSON
{
  "hex": "#a7af25",
  "rgb": {
    "r": 167,
    "g": 175,
    "b": 37
  },
  "hsl": {
    "h": 63.478,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.72419,
    "c": 0.15088,
    "h": 113.1
  },
  "luminance": 0.39009
}

Semantic roles & 50–950 ramp

primary
#A7AF25
secondary
#6E69C7
accent
#40E849
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A7AF25

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

Preview Lab → · Contrast checker → · Palette generator →

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