#A6AF25#A6AF25

#A6AF25 is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.3% C 0.151 H 113.5°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#A6AF25
RGBrgb(166, 175, 37)
HSLhsl(64, 65%, 42%)
HSVhsv(64, 79%, 69%)
CMYKcmyk(5.1%, 0%, 78.9%, 31.4%)
CIE-LABlab(68.68, -19.38, 63.63)
CIE-LCHlch(68.68, 66.52, 106.94°)
OKLaboklab(72.34% -0.0602 0.1387)
OKLCHoklch(72.34% 0.151 113.5)
XYZxyz(31.3908, 38.9012, 7.6050)
Luminance0.3890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AF25 #2E25AF
analogous
#AF7325 #A6AF25 #61AF25
triadic
#A6AF25 #25A6AF #AF25A6
tetradic
#A6AF25 #25AF73 #2E25AF #AF2561
square
#A6AF25 #25AF73 #2E25AF #AF2561
split-complementary
#A6AF25 #2561AF #7325AF
monochromatic
#464A10 #767C1A #A6AF25 #CCD63C #D9E06E

Accessibility & contrast

On white

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

On black

8.78
#A6AF25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6AF25
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6AF25#FFFFFF#000000##000000
##A6AF251.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#BCA932
Tritanopia (blue-blind)
#B2A496
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a6af25;
/* rgb */ color: rgb(166, 175, 37);
/* oklch */ color: oklch(72.3% 0.151 113.5);
Tailwind
colors: {
  custom: {
    50: '#c4c66c',
    500: '#a6af25',
    950: '#000000',
  },
}
SCSS
$custom: #a6af25;
$custom-light: #c4c66c;
$custom-dark: #000000;
JSON
{
  "hex": "#a6af25",
  "rgb": {
    "r": 166,
    "g": 175,
    "b": 37
  },
  "hsl": {
    "h": 63.913,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.72336,
    "c": 0.15118,
    "h": 113.5
  },
  "luminance": 0.38901
}

Semantic roles & 50–950 ramp

primary
#A6AF25
secondary
#6F69C7
accent
#40E84B
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A6AF25

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

Preview Lab → · Contrast checker → · Palette generator →

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