#AFBB56#AFBB56

#AFBB56 is a light, vivid yellow. Relative luminance 0.453; OKLCH L 76.2% C 0.127 H 115.1°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#AFBB56
RGBrgb(175, 187, 86)
HSLhsl(67, 43%, 54%)
HSVhsv(67, 54%, 73%)
CMYKcmyk(6.4%, 0%, 54%, 26.7%)
CIE-LABlab(73.11, -18.57, 48.99)
CIE-LCHlch(73.11, 52.39, 110.76°)
OKLaboklab(76.17% -0.0537 0.1147)
OKLCHoklch(76.17% 0.127 115.1)
XYZxyz(37.1299, 45.3270, 15.5953)
Luminance0.4533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB56 #6256BB
analogous
#BB9456 #AFBB56 #7CBB56
triadic
#AFBB56 #56AFBB #BB56AF
tetradic
#AFBB56 #56BB94 #6256BB #BB567C
square
#AFBB56 #56BB94 #6256BB #BB567C
split-complementary
#AFBB56 #567CBB #9456BB
monochromatic
#646B2B #8C973D #AFBB56 #C4CD82 #D8DEAD

Accessibility & contrast

On white

2.09
#AFBB56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.07
#AFBB56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBB56
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBB56#FFFFFF#000000##000000
##AFBB561.002.0910.0710.07
#FFFFFF2.091.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B34C
Deuteranopia (green-blind)
#C6B45C
Tritanopia (blue-blind)
#B9B2A5
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #afbb56;
/* rgb */ color: rgb(175, 187, 86);
/* oklch */ color: oklch(76.2% 0.127 115.1);
Tailwind
colors: {
  custom: {
    50: '#c9cf89',
    500: '#afbb56',
    950: '#000000',
  },
}
SCSS
$custom: #afbb56;
$custom-light: #c9cf89;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb56",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 86
  },
  "hsl": {
    "h": 67.129,
    "s": 42.616,
    "l": 53.529
  },
  "oklch": {
    "l": 0.76172,
    "c": 0.12667,
    "h": 115.1
  },
  "luminance": 0.45326
}

Semantic roles & 50–950 ramp

primary
#AFBB56
secondary
#A6A1CC
accent
#55D264
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AFBB56

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

Preview Lab → · Contrast checker → · Palette generator →

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