#A8AF33#A8AF33

#A8AF33 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.6% C 0.143 H 112.7°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#A8AF33
RGBrgb(168, 175, 51)
HSLhsl(63, 55%, 44%)
HSVhsv(63, 71%, 69%)
CMYKcmyk(4%, 0%, 70.9%, 31.4%)
CIE-LABlab(68.91, -17.89, 59.24)
CIE-LCHlch(68.91, 61.88, 106.81°)
OKLaboklab(72.59% -0.055 0.1318)
OKLCHoklch(72.59% 0.143 112.7)
XYZxyz(32.0769, 39.2245, 9.0127)
Luminance0.3922 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8AF33 #3A33AF
analogous
#AF7833 #A8AF33 #6AAF33
triadic
#A8AF33 #33A8AF #AF33A8
tetradic
#A8AF33 #33AF78 #3A33AF #AF336A
square
#A8AF33 #33AF78 #3A33AF #AF336A
split-complementary
#A8AF33 #336AAF #7833AF
monochromatic
#4D5017 #7B8025 #A8AF33 #C6CD52 #D6DB82

Accessibility & contrast

On white

2.37
#A8AF33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#A8AF33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8AF33
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8AF33#FFFFFF#000000##000000
##A8AF331.002.378.848.84
#FFFFFF2.371.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA71E
Deuteranopia (green-blind)
#BCAA3C
Tritanopia (blue-blind)
#B3A497
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a8af33;
/* rgb */ color: rgb(168, 175, 51);
/* oklch */ color: oklch(72.6% 0.143 112.7);
Tailwind
colors: {
  custom: {
    50: '#c5c673',
    500: '#a8af33',
    950: '#000000',
  },
}
SCSS
$custom: #a8af33;
$custom-light: #c5c673;
$custom-dark: #000000;
JSON
{
  "hex": "#a8af33",
  "rgb": {
    "r": 168,
    "g": 175,
    "b": 51
  },
  "hsl": {
    "h": 63.387,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.72587,
    "c": 0.14277,
    "h": 112.7
  },
  "luminance": 0.39224
}

Semantic roles & 50–950 ramp

primary
#A8AF33
secondary
#7E7AC4
accent
#4ADE52
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A8AF33

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

Preview Lab → · Contrast checker → · Palette generator →

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