#AFBD46#AFBD46

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

Color values

HEX#AFBD46
RGBrgb(175, 189, 70)
HSLhsl(67, 47%, 51%)
HSVhsv(67, 63%, 74%)
CMYKcmyk(7.4%, 0%, 63%, 25.9%)
CIE-LABlab(73.51, -20.81, 56.58)
CIE-LCHlch(73.51, 60.28, 110.19°)
OKLaboklab(76.45% -0.0617 0.1289)
OKLCHoklch(76.45% 0.143 115.6)
XYZxyz(36.9831, 45.9519, 12.7145)
Luminance0.4595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBD46 #5446BD
analogous
#BD8F46 #AFBD46 #73BD46
triadic
#AFBD46 #46AFBD #BD46AF
tetradic
#AFBD46 #46BD8F #5446BD #BD4673
square
#AFBD46 #46BD8F #5446BD #BD4673
split-complementary
#AFBD46 #4673BD #8F46BD
monochromatic
#5D6524 #879234 #AFBD46 #C3CD73 #D6DDA0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBD46#FFFFFF#000000##000000
##AFBD461.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)
#CAB437
Deuteranopia (green-blind)
#C9B64E
Tritanopia (blue-blind)
#BAB3A4
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbd46;
/* rgb */ color: rgb(175, 189, 70);
/* oklch */ color: oklch(76.5% 0.143 115.6);
Tailwind
colors: {
  custom: {
    50: '#cad07f',
    500: '#afbd46',
    950: '#000000',
  },
}
SCSS
$custom: #afbd46;
$custom-light: #cad07f;
$custom-dark: #000000;
JSON
{
  "hex": "#afbd46",
  "rgb": {
    "r": 175,
    "g": 189,
    "b": 70
  },
  "hsl": {
    "h": 67.059,
    "s": 47.41,
    "l": 50.784
  },
  "oklch": {
    "l": 0.76451,
    "c": 0.14292,
    "h": 115.6
  },
  "luminance": 0.45951
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFBD46

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

Preview Lab → · Contrast checker → · Palette generator →

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