#AFAB44#AFAB44

#AFAB44 is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.4% C 0.125 H 107.0°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#AFAB44
RGBrgb(175, 171, 68)
HSLhsl(58, 44%, 48%)
HSVhsv(58, 61%, 69%)
CMYKcmyk(0%, 2.3%, 61.1%, 31.4%)
CIE-LABlab(68.50, -11.80, 52.05)
CIE-LCHlch(68.50, 53.37, 102.77°)
OKLaboklab(72.44% -0.0365 0.1191)
OKLCHoklch(72.44% 0.125 107)
XYZxyz(33.2866, 38.6582, 11.1761)
Luminance0.3866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAB44 #4448AF
analogous
#AF7544 #AFAB44 #7DAF44
triadic
#AFAB44 #44AFAB #AB44AF
tetradic
#AFAB44 #44AF75 #4448AF #AF447D
square
#AFAB44 #44AF75 #4448AF #AF447D
split-complementary
#AFAB44 #447DAF #7544AF
monochromatic
#575522 #838033 #AFAB44 #C5C26B #D7D497

Accessibility & contrast

On white

2.41
#AFAB44 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#AFAB44 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAB44
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAB44#FFFFFF#000000##000000
##AFAB441.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A538
Deuteranopia (green-blind)
#BBA94A
Tritanopia (blue-blind)
#BBA195
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #afab44;
/* rgb */ color: rgb(175, 171, 68);
/* oklch */ color: oklch(72.4% 0.125 107.0);
Tailwind
colors: {
  custom: {
    50: '#c9c37c',
    500: '#afab44',
    950: '#000000',
  },
}
SCSS
$custom: #afab44;
$custom-light: #c9c37c;
$custom-dark: #000000;
JSON
{
  "hex": "#afab44",
  "rgb": {
    "r": 175,
    "g": 171,
    "b": 68
  },
  "hsl": {
    "h": 57.757,
    "s": 44.033,
    "l": 47.647
  },
  "oklch": {
    "l": 0.7244,
    "c": 0.12454,
    "h": 107
  },
  "luminance": 0.38657
}

Semantic roles & 50–950 ramp

primary
#AFAB44
secondary
#8C8EC2
accent
#59D454
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #AFAB44

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

Preview Lab → · Contrast checker → · Palette generator →

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