#AFBB55#AFBB55

#AFBB55 is a light, vivid yellow. Relative luminance 0.453; OKLCH L 76.2% C 0.128 H 115.1°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#AFBB55
RGBrgb(175, 187, 85)
HSLhsl(67, 43%, 53%)
HSVhsv(67, 55%, 73%)
CMYKcmyk(6.4%, 0%, 54.5%, 26.7%)
CIE-LABlab(73.10, -18.66, 49.45)
CIE-LCHlch(73.10, 52.85, 110.67°)
OKLaboklab(76.16% -0.0541 0.1156)
OKLCHoklch(76.16% 0.128 115.1)
XYZxyz(37.0899, 45.3110, 15.3846)
Luminance0.4531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB55 #6155BB
analogous
#BB9455 #AFBB55 #7CBB55
triadic
#AFBB55 #55AFBB #BB55AF
tetradic
#AFBB55 #55BB94 #6155BB #BB557C
square
#AFBB55 #55BB94 #6155BB #BB557C
split-complementary
#AFBB55 #557CBB #9455BB
monochromatic
#636B2B #8C973C #AFBB55 #C4CC81 #D8DEAC

Accessibility & contrast

On white

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

On black

10.06
#AFBB55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBB55
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBB55#FFFFFF#000000##000000
##AFBB551.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afbb55;
/* rgb */ color: rgb(175, 187, 85);
/* oklch */ color: oklch(76.2% 0.128 115.1);
Tailwind
colors: {
  custom: {
    50: '#c9cf88',
    500: '#afbb55',
    950: '#000000',
  },
}
SCSS
$custom: #afbb55;
$custom-light: #c9cf88;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb55",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 85
  },
  "hsl": {
    "h": 67.059,
    "s": 42.857,
    "l": 53.333
  },
  "oklch": {
    "l": 0.76161,
    "c": 0.1276,
    "h": 115.1
  },
  "luminance": 0.4531
}

Semantic roles & 50–950 ramp

primary
#AFBB55
secondary
#A5A0CC
accent
#55D364
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AFBB55

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

Preview Lab → · Contrast checker → · Palette generator →

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