#AFBD55#AFBD55

#AFBD55 is a light, vivid yellow. Relative luminance 0.462; OKLCH L 76.6% C 0.130 H 115.9°. Best body text is #000000 at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#AFBD55
RGBrgb(175, 189, 85)
HSLhsl(68, 44%, 54%)
HSVhsv(68, 55%, 74%)
CMYKcmyk(7.4%, 0%, 55%, 25.9%)
CIE-LABlab(73.65, -19.66, 50.08)
CIE-LCHlch(73.65, 53.80, 111.43°)
OKLaboklab(76.61% -0.0569 0.117)
OKLCHoklch(76.61% 0.13 115.9)
XYZxyz(37.5171, 46.1655, 15.5270)
Luminance0.4617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBD55 #6355BD
analogous
#BD9755 #AFBD55 #7BBD55
triadic
#AFBD55 #55AFBD #BD55AF
tetradic
#AFBD55 #55BD97 #6355BD #BD557B
square
#AFBD55 #55BD97 #6355BD #BD557B
split-complementary
#AFBD55 #557BBD #9755BD
monochromatic
#646D2A #8D993C #AFBD55 #C4CE81 #D8DFAD

Accessibility & contrast

On white

2.05
#AFBD55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.23
#AFBD55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBD55
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBD55#FFFFFF#000000##000000
##AFBD551.002.0510.2310.23
#FFFFFF2.051.0021.0021.00
#00000010.2321.001.001.00
##00000010.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B44B
Deuteranopia (green-blind)
#C8B65B
Tritanopia (blue-blind)
#B9B3A6
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbd55;
/* rgb */ color: rgb(175, 189, 85);
/* oklch */ color: oklch(76.6% 0.130 115.9);
Tailwind
colors: {
  custom: {
    50: '#c9d088',
    500: '#afbd55',
    950: '#000000',
  },
}
SCSS
$custom: #afbd55;
$custom-light: #c9d088;
$custom-dark: #000000;
JSON
{
  "hex": "#afbd55",
  "rgb": {
    "r": 175,
    "g": 189,
    "b": 85
  },
  "hsl": {
    "h": 68.077,
    "s": 44.068,
    "l": 53.725
  },
  "oklch": {
    "l": 0.76606,
    "c": 0.13006,
    "h": 115.9
  },
  "luminance": 0.46165
}

Semantic roles & 50–950 ramp

primary
#AFBD55
secondary
#A7A1CD
accent
#54D465
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#13140C
muted
#82827D

Preview Lab

Preview with #AFBD55

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

Preview Lab → · Contrast checker → · Palette generator →

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