#AFBB50#AFBB50

#AFBB50 is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.1% C 0.132 H 114.9°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#AFBB50
RGBrgb(175, 187, 80)
HSLhsl(67, 44%, 52%)
HSVhsv(67, 57%, 73%)
CMYKcmyk(6.4%, 0%, 57.2%, 26.7%)
CIE-LABlab(73.05, -19.07, 51.69)
CIE-LCHlch(73.05, 55.09, 110.25°)
OKLaboklab(76.1% -0.0557 0.1198)
OKLCHoklch(76.1% 0.132 114.9)
XYZxyz(36.8982, 45.2343, 14.3752)
Luminance0.4523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB50 #5C50BB
analogous
#BB9250 #AFBB50 #7ABB50
triadic
#AFBB50 #50AFBB #BB50AF
tetradic
#AFBB50 #50BB92 #5C50BB #BB507A
square
#AFBB50 #50BB92 #5C50BB #BB507A
split-complementary
#AFBB50 #507ABB #9250BB
monochromatic
#616828 #8A943A #AFBB50 #C3CC7C #D7DDA8

Accessibility & contrast

On white

2.09
#AFBB50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.05
#AFBB50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBB50
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBB50#FFFFFF#000000##000000
##AFBB501.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B245
Deuteranopia (green-blind)
#C6B456
Tritanopia (blue-blind)
#B9B1A4
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #afbb50;
/* rgb */ color: rgb(175, 187, 80);
/* oklch */ color: oklch(76.1% 0.132 114.9);
Tailwind
colors: {
  custom: {
    50: '#c9cf85',
    500: '#afbb50',
    950: '#000000',
  },
}
SCSS
$custom: #afbb50;
$custom-light: #c9cf85;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb50",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 80
  },
  "hsl": {
    "h": 66.729,
    "s": 44.033,
    "l": 52.353
  },
  "oklch": {
    "l": 0.76104,
    "c": 0.13217,
    "h": 114.9
  },
  "luminance": 0.45234
}

Semantic roles & 50–950 ramp

primary
#AFBB50
secondary
#A19CCB
accent
#54D462
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #AFBB50

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

Preview Lab → · Contrast checker → · Palette generator →

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