#AFAE37#AFAE37

#AFAE37 is a light, vivid yellow. Relative luminance 0.397; OKLCH L 73.0% C 0.138 H 108.9°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#AFAE37
RGBrgb(175, 174, 55)
HSLhsl(60, 52%, 45%)
HSVhsv(60, 69%, 69%)
CMYKcmyk(0%, 0.6%, 68.6%, 31.4%)
CIE-LABlab(69.23, -14.16, 58.23)
CIE-LCHlch(69.23, 59.92, 103.67°)
OKLaboklab(72.99% -0.0445 0.1301)
OKLCHoklch(72.99% 0.138 108.9)
XYZxyz(33.5060, 39.6629, 9.5044)
Luminance0.3966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE37 #3738AF
analogous
#AF7237 #AFAE37 #74AF37
triadic
#AFAE37 #37AFAE #AE37AF
tetradic
#AFAE37 #37AF72 #3738AF #AF3774
square
#AFAE37 #37AF72 #3738AF #AF3774
split-complementary
#AFAE37 #3774AF #7237AF
monochromatic
#52511A #808028 #AFAE37 #CBCA59 #D9D987

Accessibility & contrast

On white

2.35
#AFAE37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#AFAE37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAE37
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAE37#FFFFFF#000000##000000
##AFAE371.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA725
Deuteranopia (green-blind)
#BEAB3F
Tritanopia (blue-blind)
#BBA396
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afae37;
/* rgb */ color: rgb(175, 174, 55);
/* oklch */ color: oklch(73.0% 0.138 108.9);
Tailwind
colors: {
  custom: {
    50: '#cac575',
    500: '#afae37',
    950: '#000000',
  },
}
SCSS
$custom: #afae37;
$custom-light: #cac575;
$custom-dark: #000000;
JSON
{
  "hex": "#afae37",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 55
  },
  "hsl": {
    "h": 59.5,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.72986,
    "c": 0.1375,
    "h": 108.9
  },
  "luminance": 0.39662
}

Semantic roles & 50–950 ramp

primary
#AFAE37
secondary
#7F7FC3
accent
#4DDC4C
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141209
muted
#82817B

Preview Lab

Preview with #AFAE37

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

Preview Lab → · Contrast checker → · Palette generator →

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