#AFB656#AFB656

#AFB656 is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.1% C 0.121 H 112.7°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#AFB656
RGBrgb(175, 182, 86)
HSLhsl(64, 40%, 53%)
HSVhsv(64, 53%, 71%)
CMYKcmyk(3.8%, 0%, 52.7%, 28.6%)
CIE-LABlab(71.72, -16.04, 47.38)
CIE-LCHlch(71.72, 50.02, 108.71°)
OKLaboklab(75.06% -0.0466 0.1112)
OKLCHoklch(75.06% 0.121 112.7)
XYZxyz(36.0876, 43.2424, 15.2479)
Luminance0.4324 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB656 #5D56B6
analogous
#B68D56 #AFB656 #7FB656
triadic
#AFB656 #56AFB6 #B656AF
tetradic
#AFB656 #56B68D #5D56B6 #B6567F
square
#AFB656 #56B68D #5D56B6 #B6567F
split-complementary
#AFB656 #567FB6 #8D56B6
monochromatic
#61662C #8A903E #AFB656 #C3C881 #D7DBAB

Accessibility & contrast

On white

2.18
#AFB656 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#AFB656 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB656
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB656#FFFFFF#000000##000000
##AFB6561.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AF4D
Deuteranopia (green-blind)
#C2B15B
Tritanopia (blue-blind)
#B9ADA0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #afb656;
/* rgb */ color: rgb(175, 182, 86);
/* oklch */ color: oklch(75.1% 0.121 112.7);
Tailwind
colors: {
  custom: {
    50: '#c9cb88',
    500: '#afb656',
    950: '#000000',
  },
}
SCSS
$custom: #afb656;
$custom-light: #c9cb88;
$custom-dark: #000000;
JSON
{
  "hex": "#afb656",
  "rgb": {
    "r": 175,
    "g": 182,
    "b": 86
  },
  "hsl": {
    "h": 64.375,
    "s": 39.669,
    "l": 52.549
  },
  "oklch": {
    "l": 0.75063,
    "c": 0.12058,
    "h": 112.7
  },
  "luminance": 0.43242
}

Semantic roles & 50–950 ramp

primary
#AFB656
secondary
#A29FC9
accent
#58D061
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AFB656

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

Preview Lab → · Contrast checker → · Palette generator →

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