#AFAE2C#AFAE2C

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

Color values

HEX#AFAE2C
RGBrgb(175, 174, 44)
HSLhsl(60, 60%, 43%)
HSVhsv(60, 75%, 69%)
CMYKcmyk(0%, 0.6%, 74.9%, 31.4%)
CIE-LABlab(69.16, -14.69, 62.14)
CIE-LCHlch(69.16, 63.85, 103.30°)
OKLaboklab(72.91% -0.0471 0.1364)
OKLCHoklch(72.91% 0.144 109.1)
XYZxyz(33.2711, 39.5690, 8.2674)
Luminance0.3957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE2C #2C2DAF
analogous
#AF6C2C #AFAE2C #6EAF2C
triadic
#AFAE2C #2CAFAE #AE2CAF
tetradic
#AFAE2C #2CAF6C #2C2DAF #AF2C6E
square
#AFAE2C #2CAF6C #2C2DAF #AF2C6E
split-complementary
#AFAE2C #2C6EAF #6C2CAF
monochromatic
#4D4D13 #7E7D20 #AFAE2C #D1D047 #DDDC78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFAE2C#FFFFFF#000000##000000
##AFAE2C1.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)
#BCA70E
Deuteranopia (green-blind)
#BEAB36
Tritanopia (blue-blind)
#BCA395
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afae2c;
/* rgb */ color: rgb(175, 174, 44);
/* oklch */ color: oklch(72.9% 0.144 109.1);
Tailwind
colors: {
  custom: {
    50: '#cbc570',
    500: '#afae2c',
    950: '#000000',
  },
}
SCSS
$custom: #afae2c;
$custom-light: #cbc570;
$custom-dark: #000000;
JSON
{
  "hex": "#afae2c",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 44
  },
  "hsl": {
    "h": 59.542,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.72911,
    "c": 0.1443,
    "h": 109.1
  },
  "luminance": 0.39568
}

Semantic roles & 50–950 ramp

primary
#AFAE2C
secondary
#7272C5
accent
#46E345
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141208
muted
#82817B

Preview Lab

Preview with #AFAE2C

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

Preview Lab → · Contrast checker → · Palette generator →

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