#A7AF23#A7AF23

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

Color values

HEX#A7AF23
RGBrgb(167, 175, 35)
HSLhsl(63, 67%, 41%)
HSVhsv(63, 80%, 69%)
CMYKcmyk(4.6%, 0%, 80%, 31.4%)
CIE-LABlab(68.75, -19.03, 64.30)
CIE-LCHlch(68.75, 67.06, 106.48°)
OKLaboklab(72.41% -0.0595 0.1397)
OKLCHoklch(72.41% 0.152 113.1)
XYZxyz(31.5707, 38.9975, 7.4540)
Luminance0.3900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AF23 #2B23AF
analogous
#AF7123 #A7AF23 #61AF23
triadic
#A7AF23 #23A7AF #AF23A7
tetradic
#A7AF23 #23AF71 #2B23AF #AF2361
square
#A7AF23 #23AF71 #2B23AF #AF2361
split-complementary
#A7AF23 #2361AF #7123AF
monochromatic
#46490F #767C19 #A7AF23 #CED738 #DBE16B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7AF23#FFFFFF#000000##000000
##A7AF231.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)
#BDA930
Tritanopia (blue-blind)
#B3A496
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a7af23;
/* rgb */ color: rgb(167, 175, 35);
/* oklch */ color: oklch(72.4% 0.152 113.1);
Tailwind
colors: {
  custom: {
    50: '#c5c66c',
    500: '#a7af23',
    950: '#000000',
  },
}
SCSS
$custom: #a7af23;
$custom-light: #c5c66c;
$custom-dark: #000000;
JSON
{
  "hex": "#a7af23",
  "rgb": {
    "r": 167,
    "g": 175,
    "b": 35
  },
  "hsl": {
    "h": 63.429,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.72409,
    "c": 0.15181,
    "h": 113.1
  },
  "luminance": 0.38997
}

Semantic roles & 50–950 ramp

primary
#A7AF23
secondary
#6C66C7
accent
#3EEA48
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A7AF23

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

Preview Lab → · Contrast checker → · Palette generator →

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