#AFBD45#AFBD45

#AFBD45 is a light, vivid yellow. Relative luminance 0.459; OKLCH L 76.4% C 0.144 H 115.5°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#AFBD45
RGBrgb(175, 189, 69)
HSLhsl(67, 48%, 51%)
HSVhsv(67, 63%, 74%)
CMYKcmyk(7.4%, 0%, 63.5%, 25.9%)
CIE-LABlab(73.51, -20.88, 56.99)
CIE-LCHlch(73.51, 60.69, 110.12°)
OKLaboklab(76.44% -0.0619 0.1297)
OKLCHoklch(76.44% 0.144 115.5)
XYZxyz(36.9518, 45.9394, 12.5497)
Luminance0.4594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBD45 #5345BD
analogous
#BD8F45 #AFBD45 #73BD45
triadic
#AFBD45 #45AFBD #BD45AF
tetradic
#AFBD45 #45BD8F #5345BD #BD4573
square
#AFBD45 #45BD8F #5345BD #BD4573
split-complementary
#AFBD45 #4573BD #8F45BD
monochromatic
#5D6424 #869134 #AFBD45 #C2CD72 #D6DD9F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBD45#FFFFFF#000000##000000
##AFBD451.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)
#CAB436
Deuteranopia (green-blind)
#C9B64D
Tritanopia (blue-blind)
#BAB3A4
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbd45;
/* rgb */ color: rgb(175, 189, 69);
/* oklch */ color: oklch(76.4% 0.144 115.5);
Tailwind
colors: {
  custom: {
    50: '#cad07e',
    500: '#afbd45',
    950: '#000000',
  },
}
SCSS
$custom: #afbd45;
$custom-light: #cad07e;
$custom-dark: #000000;
JSON
{
  "hex": "#afbd45",
  "rgb": {
    "r": 175,
    "g": 189,
    "b": 69
  },
  "hsl": {
    "h": 67,
    "s": 47.619,
    "l": 50.588
  },
  "oklch": {
    "l": 0.76441,
    "c": 0.14371,
    "h": 115.5
  },
  "luminance": 0.45939
}

Semantic roles & 50–950 ramp

primary
#AFBD45
secondary
#9A94CA
accent
#51D760
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #AFBD45

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

Preview Lab → · Contrast checker → · Palette generator →

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