#AFAC43#AFAC43

#AFAC43 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.80:1 contrast (WCAG AA passes).

Color values

HEX#AFAC43
RGBrgb(175, 172, 67)
HSLhsl(58, 45%, 47%)
HSVhsv(58, 62%, 69%)
CMYKcmyk(0%, 1.7%, 61.7%, 31.4%)
CIE-LABlab(68.77, -12.39, 52.78)
CIE-LCHlch(68.77, 54.22, 103.21°)
OKLaboklab(72.65% -0.0383 0.1205)
OKLCHoklch(72.65% 0.126 107.6)
XYZxyz(33.4459, 39.0253, 11.0799)
Luminance0.3902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAC43 #4346AF
analogous
#AF7643 #AFAC43 #7CAF43
triadic
#AFAC43 #43AFAC #AC43AF
tetradic
#AFAC43 #43AF76 #4346AF #AF437C
square
#AFAC43 #43AF76 #4346AF #AF437C
split-complementary
#AFAC43 #437CAF #7643AF
monochromatic
#565521 #838132 #AFAC43 #C6C369 #D7D596

Accessibility & contrast

On white

2.39
#AFAC43 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#AFAC43 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAC43
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAC43#FFFFFF#000000##000000
##AFAC431.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A636
Deuteranopia (green-blind)
#BBAA49
Tritanopia (blue-blind)
#BBA196
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afac43;
/* rgb */ color: rgb(175, 172, 67);
/* oklch */ color: oklch(72.7% 0.126 107.6);
Tailwind
colors: {
  custom: {
    50: '#cac47c',
    500: '#afac43',
    950: '#000000',
  },
}
SCSS
$custom: #afac43;
$custom-light: #cac47c;
$custom-dark: #000000;
JSON
{
  "hex": "#afac43",
  "rgb": {
    "r": 175,
    "g": 172,
    "b": 67
  },
  "hsl": {
    "h": 58.333,
    "s": 44.628,
    "l": 47.451
  },
  "oklch": {
    "l": 0.7265,
    "c": 0.12641,
    "h": 107.6
  },
  "luminance": 0.39024
}

Semantic roles & 50–950 ramp

primary
#AFAC43
secondary
#8B8DC2
accent
#57D453
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #AFAC43

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

Preview Lab → · Contrast checker → · Palette generator →

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