#A8AF35#A8AF35

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

Color values

HEX#A8AF35
RGBrgb(168, 175, 53)
HSLhsl(63, 54%, 45%)
HSVhsv(63, 70%, 69%)
CMYKcmyk(4%, 0%, 69.7%, 31.4%)
CIE-LABlab(68.93, -17.79, 58.50)
CIE-LCHlch(68.93, 61.15, 106.91°)
OKLaboklab(72.6% -0.0545 0.1306)
OKLCHoklch(72.6% 0.141 112.7)
XYZxyz(32.1220, 39.2425, 9.2499)
Luminance0.3924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8AF35 #3C35AF
analogous
#AF7935 #A8AF35 #6BAF35
triadic
#A8AF35 #35A8AF #AF35A8
tetradic
#A8AF35 #35AF79 #3C35AF #AF356B
square
#A8AF35 #35AF79 #3C35AF #AF356B
split-complementary
#A8AF35 #356BAF #7935AF
monochromatic
#4E5119 #7B8027 #A8AF35 #C5CC56 #D5DA85

Accessibility & contrast

On white

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

On black

8.85
#A8AF35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8AF35
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8AF35#FFFFFF#000000##000000
##A8AF351.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8af35;
/* rgb */ color: rgb(168, 175, 53);
/* oklch */ color: oklch(72.6% 0.141 112.7);
Tailwind
colors: {
  custom: {
    50: '#c5c674',
    500: '#a8af35',
    950: '#000000',
  },
}
SCSS
$custom: #a8af35;
$custom-light: #c5c674;
$custom-dark: #000000;
JSON
{
  "hex": "#a8af35",
  "rgb": {
    "r": 168,
    "g": 175,
    "b": 53
  },
  "hsl": {
    "h": 63.443,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.72601,
    "c": 0.14147,
    "h": 112.7
  },
  "luminance": 0.39242
}

Semantic roles & 50–950 ramp

primary
#A8AF35
secondary
#807CC4
accent
#4BDD53
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A8AF35

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

Preview Lab → · Contrast checker → · Palette generator →

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