#ACAF27#ACAF27

#ACAF27 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.92:1 contrast (WCAG AA passes).

Color values

HEX#ACAF27
RGBrgb(172, 175, 39)
HSLhsl(61, 64%, 42%)
HSVhsv(61, 78%, 69%)
CMYKcmyk(1.7%, 0%, 77.7%, 31.4%)
CIE-LABlab(69.17, -16.71, 63.65)
CIE-LCHlch(69.17, 65.81, 104.71°)
OKLaboklab(72.85% -0.053 0.1388)
OKLCHoklch(72.85% 0.149 110.9)
XYZxyz(32.7106, 39.5780, 7.8353)
Luminance0.3958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACAF27 #2A27AF
analogous
#AF6E27 #ACAF27 #68AF27
triadic
#ACAF27 #27ACAF #AF27AC
tetradic
#ACAF27 #27AF6E #2A27AF #AF2768
square
#ACAF27 #27AF6E #2A27AF #AF2768
split-complementary
#ACAF27 #2768AF #6E27AF
monochromatic
#4A4B11 #7B7D1C #ACAF27 #D1D43F #DDDF71

Accessibility & contrast

On white

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

On black

8.92
#ACAF27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACAF27
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACAF27#FFFFFF#000000##000000
##ACAF271.002.368.928.92
#FFFFFF2.361.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #acaf27;
/* rgb */ color: rgb(172, 175, 39);
/* oklch */ color: oklch(72.8% 0.149 110.9);
Tailwind
colors: {
  custom: {
    50: '#c8c66d',
    500: '#acaf27',
    950: '#000000',
  },
}
SCSS
$custom: #acaf27;
$custom-light: #c8c66d;
$custom-dark: #000000;
JSON
{
  "hex": "#acaf27",
  "rgb": {
    "r": 172,
    "g": 175,
    "b": 39
  },
  "hsl": {
    "h": 61.324,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.72848,
    "c": 0.14858,
    "h": 110.9
  },
  "luminance": 0.39577
}

Semantic roles & 50–950 ramp

primary
#ACAF27
secondary
#6D6BC6
accent
#41E745
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141308
muted
#82827A

Preview Lab

Preview with #ACAF27

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

Preview Lab → · Contrast checker → · Palette generator →

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