#AFAC44#AFAC44

#AFAC44 is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.7% C 0.126 H 107.6°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#AFAC44
RGBrgb(175, 172, 68)
HSLhsl(58, 44%, 48%)
HSVhsv(58, 61%, 69%)
CMYKcmyk(0%, 1.7%, 61.1%, 31.4%)
CIE-LABlab(68.78, -12.32, 52.35)
CIE-LCHlch(68.78, 53.78, 103.24°)
OKLaboklab(72.66% -0.0379 0.1197)
OKLCHoklch(72.66% 0.126 107.6)
XYZxyz(33.4762, 39.0374, 11.2393)
Luminance0.3904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAC44 #4447AF
analogous
#AF7744 #AFAC44 #7CAF44
triadic
#AFAC44 #44AFAC #AC44AF
tetradic
#AFAC44 #44AF77 #4447AF #AF447C
square
#AFAC44 #44AF77 #4447AF #AF447C
split-complementary
#AFAC44 #447CAF #7744AF
monochromatic
#575522 #838133 #AFAC44 #C5C36B #D7D597

Accessibility & contrast

On white

2.38
#AFAC44 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#AFAC44 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAC44
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAC44#FFFFFF#000000##000000
##AFAC441.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A638
Deuteranopia (green-blind)
#BBAA4A
Tritanopia (blue-blind)
#BBA296
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afac44;
/* rgb */ color: rgb(175, 172, 68);
/* oklch */ color: oklch(72.7% 0.126 107.6);
Tailwind
colors: {
  custom: {
    50: '#c9c47c',
    500: '#afac44',
    950: '#000000',
  },
}
SCSS
$custom: #afac44;
$custom-light: #c9c47c;
$custom-dark: #000000;
JSON
{
  "hex": "#afac44",
  "rgb": {
    "r": 175,
    "g": 172,
    "b": 68
  },
  "hsl": {
    "h": 58.318,
    "s": 44.033,
    "l": 47.647
  },
  "oklch": {
    "l": 0.7266,
    "c": 0.12558,
    "h": 107.6
  },
  "luminance": 0.39036
}

Semantic roles & 50–950 ramp

primary
#AFAC44
secondary
#8C8EC2
accent
#58D454
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #AFAC44

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

Preview Lab → · Contrast checker → · Palette generator →

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