#AFB554#AFB554

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

Color values

HEX#AFB554
RGBrgb(175, 181, 84)
HSLhsl(64, 40%, 52%)
HSVhsv(64, 54%, 71%)
CMYKcmyk(3.3%, 0%, 53.6%, 29%)
CIE-LABlab(71.42, -15.71, 47.98)
CIE-LCHlch(71.42, 50.49, 108.13°)
OKLaboklab(74.82% -0.0458 0.1123)
OKLCHoklch(74.82% 0.121 112.2)
XYZxyz(35.8041, 42.8025, 14.7614)
Luminance0.4280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB554 #5A54B5
analogous
#B58A54 #AFB554 #7FB554
triadic
#AFB554 #54AFB5 #B554AF
tetradic
#AFB554 #54B58A #5A54B5 #B5547F
square
#AFB554 #54B58A #5A54B5 #B5547F
split-complementary
#AFB554 #547FB5 #8A54B5
monochromatic
#60642B #898E3E #AFB554 #C3C77F #D7DAA9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFB554#FFFFFF#000000##000000
##AFB5541.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)
#C1AE4A
Deuteranopia (green-blind)
#C1B059
Tritanopia (blue-blind)
#B9AB9F
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #afb554;
/* rgb */ color: rgb(175, 181, 84);
/* oklch */ color: oklch(74.8% 0.121 112.2);
Tailwind
colors: {
  custom: {
    50: '#c9cb87',
    500: '#afb554',
    950: '#000000',
  },
}
SCSS
$custom: #afb554;
$custom-light: #c9cb87;
$custom-dark: #000000;
JSON
{
  "hex": "#afb554",
  "rgb": {
    "r": 175,
    "g": 181,
    "b": 84
  },
  "hsl": {
    "h": 63.711,
    "s": 39.592,
    "l": 51.961
  },
  "oklch": {
    "l": 0.74818,
    "c": 0.12132,
    "h": 112.2
  },
  "luminance": 0.42802
}

Semantic roles & 50–950 ramp

primary
#AFB554
secondary
#A09DC8
accent
#58CF60
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#13130B
muted
#82827C

Preview Lab

Preview with #AFB554

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

Preview Lab → · Contrast checker → · Palette generator →

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