#A7AF26#A7AF26

#A7AF26 is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.4% C 0.150 H 113.1°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#A7AF26
RGBrgb(167, 175, 38)
HSLhsl(64, 64%, 42%)
HSVhsv(64, 78%, 69%)
CMYKcmyk(4.6%, 0%, 78.3%, 31.4%)
CIE-LABlab(68.76, -18.91, 63.44)
CIE-LCHlch(68.76, 66.20, 106.60°)
OKLaboklab(72.42% -0.0589 0.1384)
OKLCHoklch(72.42% 0.15 113.1)
XYZxyz(31.6172, 39.0161, 7.6987)
Luminance0.3901 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AF26 #2E26AF
analogous
#AF7326 #A7AF26 #62AF26
triadic
#A7AF26 #26A7AF #AF26A7
tetradic
#A7AF26 #26AF73 #2E26AF #AF2662
square
#A7AF26 #26AF73 #2E26AF #AF2662
split-complementary
#A7AF26 #2662AF #7326AF
monochromatic
#474A10 #777D1B #A7AF26 #CCD53D #D9E070

Accessibility & contrast

On white

2.39
#A7AF26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#A7AF26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7AF26
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7AF26#FFFFFF#000000##000000
##A7AF261.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7af26;
/* rgb */ color: rgb(167, 175, 38);
/* oklch */ color: oklch(72.4% 0.150 113.1);
Tailwind
colors: {
  custom: {
    50: '#c5c66d',
    500: '#a7af26',
    950: '#000000',
  },
}
SCSS
$custom: #a7af26;
$custom-light: #c5c66d;
$custom-dark: #000000;
JSON
{
  "hex": "#a7af26",
  "rgb": {
    "r": 167,
    "g": 175,
    "b": 38
  },
  "hsl": {
    "h": 63.504,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.72424,
    "c": 0.1504,
    "h": 113.1
  },
  "luminance": 0.39015
}

Semantic roles & 50–950 ramp

primary
#A7AF26
secondary
#706AC7
accent
#40E74A
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A7AF26

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

Preview Lab → · Contrast checker → · Palette generator →

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