#AFAF43#AFAF43

#AFAF43 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.3% C 0.130 H 109.2°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#AFAF43
RGBrgb(175, 175, 67)
HSLhsl(60, 45%, 47%)
HSVhsv(60, 62%, 69%)
CMYKcmyk(0%, 0%, 61.7%, 31.4%)
CIE-LABlab(69.60, -13.94, 53.67)
CIE-LCHlch(69.60, 55.45, 104.56°)
OKLaboklab(73.31% -0.0426 0.1224)
OKLCHoklch(73.31% 0.13 109.2)
XYZxyz(34.0233, 40.1801, 11.2724)
Luminance0.4018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAF43 #4343AF
analogous
#AF7943 #AFAF43 #79AF43
triadic
#AFAF43 #43AFAF #AF43AF
tetradic
#AFAF43 #43AF79 #4343AF #AF4379
square
#AFAF43 #43AF79 #4343AF #AF4379
split-complementary
#AFAF43 #4379AF #7943AF
monochromatic
#565621 #838332 #AFAF43 #C6C669 #D7D796

Accessibility & contrast

On white

2.32
#AFAF43 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#AFAF43 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAF43
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAF43#FFFFFF#000000##000000
##AFAF431.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA836
Deuteranopia (green-blind)
#BEAC4A
Tritanopia (blue-blind)
#BBA498
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #afaf43;
/* rgb */ color: rgb(175, 175, 67);
/* oklch */ color: oklch(73.3% 0.130 109.2);
Tailwind
colors: {
  custom: {
    50: '#cac67c',
    500: '#afaf43',
    950: '#000000',
  },
}
SCSS
$custom: #afaf43;
$custom-light: #cac67c;
$custom-dark: #000000;
JSON
{
  "hex": "#afaf43",
  "rgb": {
    "r": 175,
    "g": 175,
    "b": 67
  },
  "hsl": {
    "h": 60,
    "s": 44.628,
    "l": 47.451
  },
  "oklch": {
    "l": 0.7331,
    "c": 0.12959,
    "h": 109.2
  },
  "luminance": 0.40179
}

Semantic roles & 50–950 ramp

primary
#AFAF43
secondary
#8B8BC2
accent
#53D453
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFAF43

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

Preview Lab → · Contrast checker → · Palette generator →

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