#ACAF26#ACAF26

#ACAF26 is a light, vivid yellow. Relative luminance 0.396; OKLCH L 72.8% C 0.149 H 110.9°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#ACAF26
RGBrgb(172, 175, 38)
HSLhsl(61, 64%, 42%)
HSVhsv(61, 78%, 69%)
CMYKcmyk(1.7%, 0%, 78.3%, 31.4%)
CIE-LABlab(69.16, -16.75, 63.95)
CIE-LCHlch(69.16, 66.11, 104.68°)
OKLaboklab(72.84% -0.0532 0.1393)
OKLCHoklch(72.84% 0.149 110.9)
XYZxyz(32.6943, 39.5715, 7.7492)
Luminance0.3957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACAF26 #2926AF
analogous
#AF6E26 #ACAF26 #68AF26
triadic
#ACAF26 #26ACAF #AF26AC
tetradic
#ACAF26 #26AF6E #2926AF #AF2668
square
#ACAF26 #26AF6E #2926AF #AF2668
split-complementary
#ACAF26 #2668AF #6E26AF
monochromatic
#494A10 #7B7D1B #ACAF26 #D2D53D #DDE070

Accessibility & contrast

On white

2.36
#ACAF26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#ACAF26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACAF26
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACAF26#FFFFFF#000000##000000
##ACAF261.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#BEAB32
Tritanopia (blue-blind)
#B8A496
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #acaf26;
/* rgb */ color: rgb(172, 175, 38);
/* oklch */ color: oklch(72.8% 0.149 110.9);
Tailwind
colors: {
  custom: {
    50: '#c9c66d',
    500: '#acaf26',
    950: '#000000',
  },
}
SCSS
$custom: #acaf26;
$custom-light: #c9c66d;
$custom-dark: #000000;
JSON
{
  "hex": "#acaf26",
  "rgb": {
    "r": 172,
    "g": 175,
    "b": 38
  },
  "hsl": {
    "h": 61.314,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.72843,
    "c": 0.14908,
    "h": 110.9
  },
  "luminance": 0.39571
}

Semantic roles & 50–950 ramp

primary
#ACAF26
secondary
#6C6AC7
accent
#40E744
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141308
muted
#82827A

Preview Lab

Preview with #ACAF26

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

Preview Lab → · Contrast checker → · Palette generator →

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