#A8AF23#A8AF23

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

Color values

HEX#A8AF23
RGBrgb(168, 175, 35)
HSLhsl(63, 67%, 41%)
HSVhsv(63, 80%, 69%)
CMYKcmyk(4%, 0%, 80%, 31.4%)
CIE-LABlab(68.83, -18.59, 64.40)
CIE-LCHlch(68.83, 67.03, 106.10°)
OKLaboklab(72.49% -0.0583 0.1399)
OKLCHoklch(72.49% 0.152 112.6)
XYZxyz(31.7829, 39.1069, 7.4639)
Luminance0.3911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8AF23 #2A23AF
analogous
#AF7023 #A8AF23 #62AF23
triadic
#A8AF23 #23A8AF #AF23A8
tetradic
#A8AF23 #23AF70 #2A23AF #AF2362
square
#A8AF23 #23AF70 #2A23AF #AF2362
split-complementary
#A8AF23 #2362AF #7023AF
monochromatic
#46490F #777C19 #A8AF23 #CFD738 #DBE16B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #a8af23;
/* rgb */ color: rgb(168, 175, 35);
/* oklch */ color: oklch(72.5% 0.152 112.6);
Tailwind
colors: {
  custom: {
    50: '#c6c66c',
    500: '#a8af23',
    950: '#000000',
  },
}
SCSS
$custom: #a8af23;
$custom-light: #c6c66c;
$custom-dark: #000000;
JSON
{
  "hex": "#a8af23",
  "rgb": {
    "r": 168,
    "g": 175,
    "b": 35
  },
  "hsl": {
    "h": 63,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.72492,
    "c": 0.15152,
    "h": 112.6
  },
  "luminance": 0.39106
}

Semantic roles & 50–950 ramp

primary
#A8AF23
secondary
#6B66C7
accent
#3EEA47
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A8AF23

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

Preview Lab → · Contrast checker → · Palette generator →

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