#AFB550#AFB550

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

Color values

HEX#AFB550
RGBrgb(175, 181, 80)
HSLhsl(64, 41%, 51%)
HSVhsv(64, 56%, 71%)
CMYKcmyk(3.3%, 0%, 55.8%, 29%)
CIE-LABlab(71.38, -16.04, 49.81)
CIE-LCHlch(71.38, 52.33, 107.85°)
OKLaboklab(74.77% -0.0472 0.1158)
OKLCHoklch(74.77% 0.125 112.2)
XYZxyz(35.6518, 42.7416, 13.9597)
Luminance0.4274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB550 #5650B5
analogous
#B58850 #AFB550 #7CB550
triadic
#AFB550 #50AFB5 #B550AF
tetradic
#AFB550 #50B588 #5650B5 #B5507C
square
#AFB550 #50B588 #5650B5 #B5507C
split-complementary
#AFB550 #507CB5 #8850B5
monochromatic
#5E6129 #888C3B #AFB550 #C3C77B #D6D9A6

Accessibility & contrast

On white

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

On black

9.55
#AFB550 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB550
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB550#FFFFFF#000000##000000
##AFB5501.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD46
Deuteranopia (green-blind)
#C2B056
Tritanopia (blue-blind)
#BAAB9F
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #afb550;
/* rgb */ color: rgb(175, 181, 80);
/* oklch */ color: oklch(74.8% 0.125 112.2);
Tailwind
colors: {
  custom: {
    50: '#c9cb84',
    500: '#afb550',
    950: '#000000',
  },
}
SCSS
$custom: #afb550;
$custom-light: #c9cb84;
$custom-dark: #000000;
JSON
{
  "hex": "#afb550",
  "rgb": {
    "r": 175,
    "g": 181,
    "b": 80
  },
  "hsl": {
    "h": 63.564,
    "s": 40.562,
    "l": 51.176
  },
  "oklch": {
    "l": 0.74771,
    "c": 0.12505,
    "h": 112.2
  },
  "luminance": 0.42741
}

Semantic roles & 50–950 ramp

primary
#AFB550
secondary
#9D9AC7
accent
#57D05F
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #AFB550

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

Preview Lab → · Contrast checker → · Palette generator →

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