#AFAA43#AFAA43

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

Color values

HEX#AFAA43
RGBrgb(175, 170, 67)
HSLhsl(57, 45%, 47%)
HSVhsv(57, 62%, 69%)
CMYKcmyk(0%, 2.9%, 61.7%, 31.4%)
CIE-LABlab(68.22, -11.35, 52.19)
CIE-LCHlch(68.22, 53.41, 102.27°)
OKLaboklab(72.21% -0.0353 0.1192)
OKLCHoklch(72.21% 0.124 106.5)
XYZxyz(33.0681, 38.2697, 10.9540)
Luminance0.3827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAA43 #4348AF
analogous
#AF7443 #AFAA43 #7EAF43
triadic
#AFAA43 #43AFAA #AA43AF
tetradic
#AFAA43 #43AF74 #4348AF #AF437E
square
#AFAA43 #43AF74 #4348AF #AF437E
split-complementary
#AFAA43 #437EAF #7443AF
monochromatic
#565421 #837F32 #AFAA43 #C6C169 #D7D496

Accessibility & contrast

On white

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

On black

8.65
#AFAA43 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAA43
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAA43#FFFFFF#000000##000000
##AFAA431.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afaa43;
/* rgb */ color: rgb(175, 170, 67);
/* oklch */ color: oklch(72.2% 0.124 106.5);
Tailwind
colors: {
  custom: {
    50: '#cac37c',
    500: '#afaa43',
    950: '#000000',
  },
}
SCSS
$custom: #afaa43;
$custom-light: #cac37c;
$custom-dark: #000000;
JSON
{
  "hex": "#afaa43",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 67
  },
  "hsl": {
    "h": 57.222,
    "s": 44.628,
    "l": 47.451
  },
  "oklch": {
    "l": 0.72211,
    "c": 0.12434,
    "h": 106.5
  },
  "luminance": 0.38269
}

Semantic roles & 50–950 ramp

primary
#AFAA43
secondary
#8B8EC2
accent
#59D453
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #AFAA43

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

Preview Lab → · Contrast checker → · Palette generator →

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