#AFAE25#AFAE25

#AFAE25 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 72.9% C 0.148 H 109.1°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#AFAE25
RGBrgb(175, 174, 37)
HSLhsl(60, 65%, 42%)
HSVhsv(60, 79%, 69%)
CMYKcmyk(0%, 0.6%, 78.9%, 31.4%)
CIE-LABlab(69.13, -14.97, 64.31)
CIE-LCHlch(69.13, 66.03, 103.10°)
OKLaboklab(72.87% -0.0485 0.1397)
OKLCHoklch(72.87% 0.148 109.1)
XYZxyz(33.1505, 39.5207, 7.6319)
Luminance0.3952 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE25 #2526AF
analogous
#AF6925 #AFAE25 #6BAF25
triadic
#AFAE25 #25AFAE #AE25AF
tetradic
#AFAE25 #25AF69 #2526AF #AF256B
square
#AFAE25 #25AF69 #2526AF #AF256B
split-complementary
#AFAE25 #256BAF #6925AF
monochromatic
#4A4A10 #7C7C1A #AFAE25 #D6D53C #E0E06E

Accessibility & contrast

On white

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

On black

8.90
#AFAE25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAE25
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAE25#FFFFFF#000000##000000
##AFAE251.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA600
Deuteranopia (green-blind)
#BEAB31
Tritanopia (blue-blind)
#BCA295
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afae25;
/* rgb */ color: rgb(175, 174, 37);
/* oklch */ color: oklch(72.9% 0.148 109.1);
Tailwind
colors: {
  custom: {
    50: '#cbc56c',
    500: '#afae25',
    950: '#000000',
  },
}
SCSS
$custom: #afae25;
$custom-light: #cbc56c;
$custom-dark: #000000;
JSON
{
  "hex": "#afae25",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 37
  },
  "hsl": {
    "h": 59.565,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.72872,
    "c": 0.14789,
    "h": 109.1
  },
  "luminance": 0.3952
}

Semantic roles & 50–950 ramp

primary
#AFAE25
secondary
#696AC7
accent
#41E840
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141208
muted
#82817B

Preview Lab

Preview with #AFAE25

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

Preview Lab → · Contrast checker → · Palette generator →

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