#AFBF55#AFBF55

#AFBF55 is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.1% C 0.133 H 116.8°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#AFBF55
RGBrgb(175, 191, 85)
HSLhsl(69, 45%, 54%)
HSVhsv(69, 55%, 75%)
CMYKcmyk(8.4%, 0%, 55.5%, 25.1%)
CIE-LABlab(74.21, -20.65, 50.72)
CIE-LCHlch(74.21, 54.77, 112.16°)
OKLaboklab(77.05% -0.0597 0.1183)
OKLCHoklch(77.05% 0.133 116.8)
XYZxyz(37.9503, 47.0318, 15.6714)
Luminance0.4703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBF55 #6555BF
analogous
#BF9A55 #AFBF55 #7ABF55
triadic
#AFBF55 #55AFBF #BF55AF
tetradic
#AFBF55 #55BF9A #6555BF #BF557A
square
#AFBF55 #55BF9A #6555BF #BF557A
split-complementary
#AFBF55 #557ABF #9A55BF
monochromatic
#65702A #8D9C3B #AFBF55 #C4D081 #D9E0AE

Accessibility & contrast

On white

2.02
#AFBF55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.41
#AFBF55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBF55
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBF55#FFFFFF#000000##000000
##AFBF551.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB64A
Deuteranopia (green-blind)
#C9B75B
Tritanopia (blue-blind)
#B8B5A8
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #afbf55;
/* rgb */ color: rgb(175, 191, 85);
/* oklch */ color: oklch(77.1% 0.133 116.8);
Tailwind
colors: {
  custom: {
    50: '#c9d288',
    500: '#afbf55',
    950: '#000000',
  },
}
SCSS
$custom: #afbf55;
$custom-light: #c9d288;
$custom-dark: #000000;
JSON
{
  "hex": "#afbf55",
  "rgb": {
    "r": 175,
    "g": 191,
    "b": 85
  },
  "hsl": {
    "h": 69.057,
    "s": 45.299,
    "l": 54.118
  },
  "oklch": {
    "l": 0.77053,
    "c": 0.13254,
    "h": 116.8
  },
  "luminance": 0.47031
}

Semantic roles & 50–950 ramp

primary
#AFBF55
secondary
#A8A1CE
accent
#53D566
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#13140C
muted
#82827D

Preview Lab

Preview with #AFBF55

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

Preview Lab → · Contrast checker → · Palette generator →

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