#A8AF26#A8AF26

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

Color values

HEX#A8AF26
RGBrgb(168, 175, 38)
HSLhsl(63, 64%, 42%)
HSVhsv(63, 78%, 69%)
CMYKcmyk(4%, 0%, 78.3%, 31.4%)
CIE-LABlab(68.84, -18.48, 63.54)
CIE-LCHlch(68.84, 66.18, 106.22°)
OKLaboklab(72.51% -0.0578 0.1386)
OKLCHoklch(72.51% 0.15 112.6)
XYZxyz(31.8293, 39.1255, 7.7086)
Luminance0.3912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8AF26 #2D26AF
analogous
#AF7226 #A8AF26 #64AF26
triadic
#A8AF26 #26A8AF #AF26A8
tetradic
#A8AF26 #26AF72 #2D26AF #AF2664
square
#A8AF26 #26AF72 #2D26AF #AF2664
split-complementary
#A8AF26 #2664AF #7226AF
monochromatic
#474A10 #787D1B #A8AF26 #CDD53D #DAE070

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #a8af26;
/* rgb */ color: rgb(168, 175, 38);
/* oklch */ color: oklch(72.5% 0.150 112.6);
Tailwind
colors: {
  custom: {
    50: '#c6c66d',
    500: '#a8af26',
    950: '#000000',
  },
}
SCSS
$custom: #a8af26;
$custom-light: #c6c66d;
$custom-dark: #000000;
JSON
{
  "hex": "#a8af26",
  "rgb": {
    "r": 168,
    "g": 175,
    "b": 38
  },
  "hsl": {
    "h": 63.066,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.72507,
    "c": 0.15012,
    "h": 112.6
  },
  "luminance": 0.39125
}

Semantic roles & 50–950 ramp

primary
#A8AF26
secondary
#6F6AC7
accent
#40E749
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A8AF26

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

Preview Lab → · Contrast checker → · Palette generator →

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