#A3AF23#A3AF23

#A3AF23 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.1% C 0.153 H 114.7°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#A3AF23
RGBrgb(163, 175, 35)
HSLhsl(65, 67%, 41%)
HSVhsv(65, 80%, 69%)
CMYKcmyk(6.9%, 0%, 80%, 31.4%)
CIE-LABlab(68.44, -20.75, 63.91)
CIE-LCHlch(68.44, 67.19, 107.99°)
OKLaboklab(72.08% -0.064 0.139)
OKLCHoklch(72.08% 0.153 114.7)
XYZxyz(30.7385, 38.5684, 7.4150)
Luminance0.3857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3AF23 #2F23AF
analogous
#AF7523 #A3AF23 #5DAF23
triadic
#A3AF23 #23A3AF #AF23A3
tetradic
#A3AF23 #23AF75 #2F23AF #AF235D
square
#A3AF23 #23AF75 #2F23AF #AF235D
split-complementary
#A3AF23 #235DAF #7523AF
monochromatic
#44490F #737C19 #A3AF23 #CAD738 #D7E16B

Accessibility & contrast

On white

2.41
#A3AF23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#A3AF23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A3AF23
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3AF23#FFFFFF#000000##000000
##A3AF231.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#BBA831
Tritanopia (blue-blind)
#AEA496
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a3af23;
/* rgb */ color: rgb(163, 175, 35);
/* oklch */ color: oklch(72.1% 0.153 114.7);
Tailwind
colors: {
  custom: {
    50: '#c2c66b',
    500: '#a3af23',
    950: '#000000',
  },
}
SCSS
$custom: #a3af23;
$custom-light: #c2c66b;
$custom-dark: #000000;
JSON
{
  "hex": "#a3af23",
  "rgb": {
    "r": 163,
    "g": 175,
    "b": 35
  },
  "hsl": {
    "h": 65.143,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.72081,
    "c": 0.15303,
    "h": 114.7
  },
  "luminance": 0.38568
}

Semantic roles & 50–950 ramp

primary
#A3AF23
secondary
#6F66C7
accent
#3EEA4D
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A3AF23

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

Preview Lab → · Contrast checker → · Palette generator →

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