#AFB557#AFB557

#AFB557 is a light, moderate yellow. Relative luminance 0.428; OKLCH L 74.9% C 0.118 H 112.2°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#AFB557
RGBrgb(175, 181, 87)
HSLhsl(64, 39%, 53%)
HSVhsv(64, 52%, 71%)
CMYKcmyk(3.3%, 0%, 51.9%, 29%)
CIE-LABlab(71.45, -15.45, 46.59)
CIE-LCHlch(71.45, 49.09, 108.34°)
OKLaboklab(74.85% -0.0448 0.1096)
OKLCHoklch(74.85% 0.118 112.2)
XYZxyz(35.9241, 42.8505, 15.3935)
Luminance0.4285 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB557 #5D57B5
analogous
#B58C57 #AFB557 #80B557
triadic
#AFB557 #57AFB5 #B557AF
tetradic
#AFB557 #57B58C #5D57B5 #B55780
square
#AFB557 #57B58C #5D57B5 #B55780
split-complementary
#AFB557 #5780B5 #8C57B5
monochromatic
#61652D #8A903F #AFB557 #C3C881 #D7DAAC

Accessibility & contrast

On white

2.19
#AFB557 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#AFB557 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB557
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB557#FFFFFF#000000##000000
##AFB5571.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AE4E
Deuteranopia (green-blind)
#C1B05C
Tritanopia (blue-blind)
#B9ACA0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #afb557;
/* rgb */ color: rgb(175, 181, 87);
/* oklch */ color: oklch(74.9% 0.118 112.2);
Tailwind
colors: {
  custom: {
    50: '#c9cb89',
    500: '#afb557',
    950: '#000000',
  },
}
SCSS
$custom: #afb557;
$custom-light: #c9cb89;
$custom-dark: #000000;
JSON
{
  "hex": "#afb557",
  "rgb": {
    "r": 175,
    "g": 181,
    "b": 87
  },
  "hsl": {
    "h": 63.83,
    "s": 38.843,
    "l": 52.549
  },
  "oklch": {
    "l": 0.74854,
    "c": 0.11841,
    "h": 112.2
  },
  "luminance": 0.4285
}

Semantic roles & 50–950 ramp

primary
#AFB557
secondary
#A29FC8
accent
#59CF61
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AFB557

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

Preview Lab → · Contrast checker → · Palette generator →

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