#A4AF26#A4AF26

#A4AF26 is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.2% C 0.151 H 114.3°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#A4AF26
RGBrgb(164, 175, 38)
HSLhsl(65, 64%, 42%)
HSVhsv(65, 78%, 69%)
CMYKcmyk(6.3%, 0%, 78.3%, 31.4%)
CIE-LABlab(68.53, -20.21, 63.14)
CIE-LCHlch(68.53, 66.30, 107.75°)
OKLaboklab(72.18% -0.0623 0.1379)
OKLCHoklch(72.18% 0.151 114.3)
XYZxyz(30.9906, 38.6930, 7.6693)
Luminance0.3869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4AF26 #3126AF
analogous
#AF7626 #A4AF26 #5FAF26
triadic
#A4AF26 #26A4AF #AF26A4
tetradic
#A4AF26 #26AF76 #3126AF #AF265F
square
#A4AF26 #26AF76 #3126AF #AF265F
split-complementary
#A4AF26 #265FAF #7626AF
monochromatic
#464A10 #757D1B #A4AF26 #C9D53D #D7E070

Accessibility & contrast

On white

2.40
#A4AF26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#A4AF26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4AF26
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4AF26#FFFFFF#000000##000000
##A4AF261.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#BCA833
Tritanopia (blue-blind)
#AFA496
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a4af26;
/* rgb */ color: rgb(164, 175, 38);
/* oklch */ color: oklch(72.2% 0.151 114.3);
Tailwind
colors: {
  custom: {
    50: '#c3c66d',
    500: '#a4af26',
    950: '#000000',
  },
}
SCSS
$custom: #a4af26;
$custom-light: #c3c66d;
$custom-dark: #000000;
JSON
{
  "hex": "#a4af26",
  "rgb": {
    "r": 164,
    "g": 175,
    "b": 38
  },
  "hsl": {
    "h": 64.818,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.72178,
    "c": 0.15129,
    "h": 114.3
  },
  "luminance": 0.38692
}

Semantic roles & 50–950 ramp

primary
#A4AF26
secondary
#726AC7
accent
#40E74E
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A4AF26

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

Preview Lab → · Contrast checker → · Palette generator →

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