#AFAE3D#AFAE3D

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

Color values

HEX#AFAE3D
RGBrgb(175, 174, 61)
HSLhsl(59, 48%, 46%)
HSVhsv(59, 65%, 69%)
CMYKcmyk(0%, 0.6%, 65.1%, 31.4%)
CIE-LABlab(69.27, -13.81, 55.87)
CIE-LCHlch(69.27, 57.55, 103.88°)
OKLaboklab(73.04% -0.0429 0.1261)
OKLCHoklch(73.04% 0.133 108.8)
XYZxyz(33.6587, 39.7240, 10.3084)
Luminance0.3972 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE3D #3D3EAF
analogous
#AF753D #AFAE3D #77AF3D
triadic
#AFAE3D #3DAFAE #AE3DAF
tetradic
#AFAE3D #3DAF75 #3D3EAF #AF3D77
square
#AFAE3D #3DAF75 #3D3EAF #AF3D77
split-complementary
#AFAE3D #3D77AF #753DAF
monochromatic
#54541D #82812D #AFAE3D #C8C761 #D8D78F

Accessibility & contrast

On white

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

On black

8.94
#AFAE3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAE3D
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAE3D#FFFFFF#000000##000000
##AFAE3D1.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA72E
Deuteranopia (green-blind)
#BDAB44
Tritanopia (blue-blind)
#BBA397
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afae3d;
/* rgb */ color: rgb(175, 174, 61);
/* oklch */ color: oklch(73.0% 0.133 108.8);
Tailwind
colors: {
  custom: {
    50: '#cac578',
    500: '#afae3d',
    950: '#000000',
  },
}
SCSS
$custom: #afae3d;
$custom-light: #cac578;
$custom-dark: #000000;
JSON
{
  "hex": "#afae3d",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 61
  },
  "hsl": {
    "h": 59.474,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.73035,
    "c": 0.13321,
    "h": 108.8
  },
  "luminance": 0.39723
}

Semantic roles & 50–950 ramp

primary
#AFAE3D
secondary
#8586C3
accent
#51D850
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141209
muted
#82817B

Preview Lab

Preview with #AFAE3D

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

Preview Lab → · Contrast checker → · Palette generator →

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