#A6AF24#A6AF24

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

Color values

HEX#A6AF24
RGBrgb(166, 175, 36)
HSLhsl(64, 66%, 41%)
HSVhsv(64, 79%, 69%)
CMYKcmyk(5.1%, 0%, 79.4%, 31.4%)
CIE-LABlab(68.68, -19.42, 63.92)
CIE-LCHlch(68.68, 66.81, 106.90°)
OKLaboklab(72.33% -0.0604 0.1391)
OKLCHoklch(72.33% 0.152 113.5)
XYZxyz(31.3753, 38.8950, 7.5234)
Luminance0.3889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AF24 #2D24AF
analogous
#AF7324 #A6AF24 #61AF24
triadic
#A6AF24 #24A6AF #AF24A6
tetradic
#A6AF24 #24AF73 #2D24AF #AF2461
square
#A6AF24 #24AF73 #2D24AF #AF2461
split-complementary
#A6AF24 #2461AF #7324AF
monochromatic
#46490F #767C1A #A6AF24 #CCD63A #D9E16D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6AF24#FFFFFF#000000##000000
##A6AF241.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)
#BCA931
Tritanopia (blue-blind)
#B2A496
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a6af24;
/* rgb */ color: rgb(166, 175, 36);
/* oklch */ color: oklch(72.3% 0.152 113.5);
Tailwind
colors: {
  custom: {
    50: '#c4c66c',
    500: '#a6af24',
    950: '#000000',
  },
}
SCSS
$custom: #a6af24;
$custom-light: #c4c66c;
$custom-dark: #000000;
JSON
{
  "hex": "#a6af24",
  "rgb": {
    "r": 166,
    "g": 175,
    "b": 36
  },
  "hsl": {
    "h": 63.885,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.72331,
    "c": 0.15164,
    "h": 113.5
  },
  "luminance": 0.38894
}

Semantic roles & 50–950 ramp

primary
#A6AF24
secondary
#6E68C7
accent
#3FE94A
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A6AF24

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

Preview Lab → · Contrast checker → · Palette generator →

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