#AFB556#AFB556

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

Color values

HEX#AFB556
RGBrgb(175, 181, 86)
HSLhsl(64, 39%, 52%)
HSVhsv(64, 52%, 71%)
CMYKcmyk(3.3%, 0%, 52.5%, 29%)
CIE-LABlab(71.44, -15.53, 47.06)
CIE-LCHlch(71.44, 49.56, 108.27°)
OKLaboklab(74.84% -0.0451 0.1105)
OKLCHoklch(74.84% 0.119 112.2)
XYZxyz(35.8835, 42.8343, 15.1798)
Luminance0.4283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB556 #5C56B5
analogous
#B58B56 #AFB556 #80B556
triadic
#AFB556 #56AFB5 #B556AF
tetradic
#AFB556 #56B58B #5C56B5 #B55680
square
#AFB556 #56B58B #5C56B5 #B55680
split-complementary
#AFB556 #5680B5 #8B56B5
monochromatic
#61652C #8A8F3F #AFB556 #C3C881 #D7DAAB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFB556#FFFFFF#000000##000000
##AFB5561.002.209.579.57
#FFFFFF2.201.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afb556;
/* rgb */ color: rgb(175, 181, 86);
/* oklch */ color: oklch(74.8% 0.119 112.2);
Tailwind
colors: {
  custom: {
    50: '#c9cb88',
    500: '#afb556',
    950: '#000000',
  },
}
SCSS
$custom: #afb556;
$custom-light: #c9cb88;
$custom-dark: #000000;
JSON
{
  "hex": "#afb556",
  "rgb": {
    "r": 175,
    "g": 181,
    "b": 86
  },
  "hsl": {
    "h": 63.789,
    "s": 39.095,
    "l": 52.353
  },
  "oklch": {
    "l": 0.74842,
    "c": 0.11938,
    "h": 112.2
  },
  "luminance": 0.42834
}

Semantic roles & 50–950 ramp

primary
#AFB556
secondary
#A19FC8
accent
#59CF60
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AFB556

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

Preview Lab → · Contrast checker → · Palette generator →

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