#AFBD47#AFBD47

#AFBD47 is a light, vivid yellow. Relative luminance 0.460; OKLCH L 76.5% C 0.142 H 115.6°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#AFBD47
RGBrgb(175, 189, 71)
HSLhsl(67, 47%, 51%)
HSVhsv(67, 62%, 74%)
CMYKcmyk(7.4%, 0%, 62.4%, 25.9%)
CIE-LABlab(73.52, -20.74, 56.17)
CIE-LCHlch(73.52, 59.87, 110.27°)
OKLaboklab(76.46% -0.0614 0.1282)
OKLCHoklch(76.46% 0.142 115.6)
XYZxyz(37.0149, 45.9646, 12.8822)
Luminance0.4596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBD47 #5547BD
analogous
#BD9047 #AFBD47 #74BD47
triadic
#AFBD47 #47AFBD #BD47AF
tetradic
#AFBD47 #47BD90 #5547BD #BD4774
square
#AFBD47 #47BD90 #5547BD #BD4774
split-complementary
#AFBD47 #4774BD #9047BD
monochromatic
#5E6524 #879234 #AFBD47 #C3CD74 #D6DDA1

Accessibility & contrast

On white

2.06
#AFBD47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.19
#AFBD47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBD47
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBD47#FFFFFF#000000##000000
##AFBD471.002.0610.1910.19
#FFFFFF2.061.0021.0021.00
#00000010.1921.001.001.00
##00000010.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB438
Deuteranopia (green-blind)
#C9B64F
Tritanopia (blue-blind)
#B9B3A4
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbd47;
/* rgb */ color: rgb(175, 189, 71);
/* oklch */ color: oklch(76.5% 0.142 115.6);
Tailwind
colors: {
  custom: {
    50: '#cad080',
    500: '#afbd47',
    950: '#000000',
  },
}
SCSS
$custom: #afbd47;
$custom-light: #cad080;
$custom-dark: #000000;
JSON
{
  "hex": "#afbd47",
  "rgb": {
    "r": 175,
    "g": 189,
    "b": 71
  },
  "hsl": {
    "h": 67.119,
    "s": 47.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.7646,
    "c": 0.14214,
    "h": 115.6
  },
  "luminance": 0.45964
}

Semantic roles & 50–950 ramp

primary
#AFBD47
secondary
#9C96CA
accent
#51D761
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140A
muted
#82827C

Preview Lab

Preview with #AFBD47

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

Preview Lab → · Contrast checker → · Palette generator →

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