#AFAA44#AFAA44

#AFAA44 is a light, vivid yellow. Relative luminance 0.383; OKLCH L 72.2% C 0.123 H 106.5°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#AFAA44
RGBrgb(175, 170, 68)
HSLhsl(57, 44%, 48%)
HSVhsv(57, 61%, 69%)
CMYKcmyk(0%, 2.9%, 61.1%, 31.4%)
CIE-LABlab(68.23, -11.28, 51.75)
CIE-LCHlch(68.23, 52.97, 102.30°)
OKLaboklab(72.22% -0.035 0.1184)
OKLCHoklch(72.22% 0.124 106.5)
XYZxyz(33.0984, 38.2818, 11.1134)
Luminance0.3828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAA44 #4449AF
analogous
#AF7444 #AFAA44 #7FAF44
triadic
#AFAA44 #44AFAA #AA44AF
tetradic
#AFAA44 #44AF74 #4449AF #AF447F
square
#AFAA44 #44AF74 #4449AF #AF447F
split-complementary
#AFAA44 #447FAF #7444AF
monochromatic
#575422 #837F33 #AFAA44 #C5C16B #D7D497

Accessibility & contrast

On white

2.43
#AFAA44 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#AFAA44 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAA44
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAA44#FFFFFF#000000##000000
##AFAA441.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A438
Deuteranopia (green-blind)
#BAA84A
Tritanopia (blue-blind)
#BB9F94
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #afaa44;
/* rgb */ color: rgb(175, 170, 68);
/* oklch */ color: oklch(72.2% 0.123 106.5);
Tailwind
colors: {
  custom: {
    50: '#c9c37c',
    500: '#afaa44',
    950: '#000000',
  },
}
SCSS
$custom: #afaa44;
$custom-light: #c9c37c;
$custom-dark: #000000;
JSON
{
  "hex": "#afaa44",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 68
  },
  "hsl": {
    "h": 57.196,
    "s": 44.033,
    "l": 47.647
  },
  "oklch": {
    "l": 0.72221,
    "c": 0.1235,
    "h": 106.5
  },
  "luminance": 0.38281
}

Semantic roles & 50–950 ramp

primary
#AFAA44
secondary
#8C8FC2
accent
#5AD454
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #AFAA44

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

Preview Lab → · Contrast checker → · Palette generator →

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