#A8AF30#A8AF30

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

Color values

HEX#A8AF30
RGBrgb(168, 175, 48)
HSLhsl(63, 57%, 44%)
HSVhsv(63, 73%, 69%)
CMYKcmyk(4%, 0%, 72.6%, 31.4%)
CIE-LABlab(68.90, -18.04, 60.31)
CIE-LCHlch(68.90, 62.95, 106.66°)
OKLaboklab(72.57% -0.0557 0.1335)
OKLCHoklch(72.57% 0.145 112.6)
XYZxyz(32.0129, 39.1989, 8.6755)
Luminance0.3920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8AF30 #3730AF
analogous
#AF7630 #A8AF30 #68AF30
triadic
#A8AF30 #30A8AF #AF30A8
tetradic
#A8AF30 #30AF76 #3730AF #AF3068
square
#A8AF30 #30AF76 #3730AF #AF3068
split-complementary
#A8AF30 #3068AF #7630AF
monochromatic
#4C4F16 #7A7F23 #A8AF30 #C7CE4E #D6DC7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8AF30#FFFFFF#000000##000000
##A8AF301.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA718
Deuteranopia (green-blind)
#BDAA3A
Tritanopia (blue-blind)
#B3A496
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a8af30;
/* rgb */ color: rgb(168, 175, 48);
/* oklch */ color: oklch(72.6% 0.145 112.6);
Tailwind
colors: {
  custom: {
    50: '#c5c671',
    500: '#a8af30',
    950: '#000000',
  },
}
SCSS
$custom: #a8af30;
$custom-light: #c5c671;
$custom-dark: #000000;
JSON
{
  "hex": "#a8af30",
  "rgb": {
    "r": 168,
    "g": 175,
    "b": 48
  },
  "hsl": {
    "h": 63.307,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.72566,
    "c": 0.14464,
    "h": 112.6
  },
  "luminance": 0.39198
}

Semantic roles & 50–950 ramp

primary
#A8AF30
secondary
#7B76C4
accent
#48E050
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8AF30

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

Preview Lab → · Contrast checker → · Palette generator →

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