#AFB555#AFB555

#AFB555 is a light, vivid yellow. Relative luminance 0.428; OKLCH L 74.8% C 0.120 H 112.2°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#AFB555
RGBrgb(175, 181, 85)
HSLhsl(64, 39%, 52%)
HSVhsv(64, 53%, 71%)
CMYKcmyk(3.3%, 0%, 53%, 29%)
CIE-LABlab(71.43, -15.62, 47.52)
CIE-LCHlch(71.43, 50.02, 108.20°)
OKLaboklab(74.83% -0.0455 0.1114)
OKLCHoklch(74.83% 0.12 112.2)
XYZxyz(35.8435, 42.8183, 14.9691)
Luminance0.4282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB555 #5B55B5
analogous
#B58B55 #AFB555 #7FB555
triadic
#AFB555 #55AFB5 #B555AF
tetradic
#AFB555 #55B58B #5B55B5 #B5557F
square
#AFB555 #55B58B #5B55B5 #B5557F
split-complementary
#AFB555 #557FB5 #8B55B5
monochromatic
#61642C #8A8F3E #AFB555 #C3C880 #D7DAAA

Accessibility & contrast

On white

2.20
#AFB555 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#AFB555 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB555
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB555#FFFFFF#000000##000000
##AFB5551.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AE4C
Deuteranopia (green-blind)
#C1B05A
Tritanopia (blue-blind)
#B9AC9F
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #afb555;
/* rgb */ color: rgb(175, 181, 85);
/* oklch */ color: oklch(74.8% 0.120 112.2);
Tailwind
colors: {
  custom: {
    50: '#c9cb88',
    500: '#afb555',
    950: '#000000',
  },
}
SCSS
$custom: #afb555;
$custom-light: #c9cb88;
$custom-dark: #000000;
JSON
{
  "hex": "#afb555",
  "rgb": {
    "r": 175,
    "g": 181,
    "b": 85
  },
  "hsl": {
    "h": 63.75,
    "s": 39.344,
    "l": 52.157
  },
  "oklch": {
    "l": 0.7483,
    "c": 0.12035,
    "h": 112.2
  },
  "luminance": 0.42818
}

Semantic roles & 50–950 ramp

primary
#AFB555
secondary
#A19EC8
accent
#59CF60
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#13130B
muted
#82827C

Preview Lab

Preview with #AFB555

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

Preview Lab → · Contrast checker → · Palette generator →

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