#AFBC56#AFBC56

#AFBC56 is a light, vivid yellow. Relative luminance 0.458; OKLCH L 76.4% C 0.128 H 115.5°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#AFBC56
RGBrgb(175, 188, 86)
HSLhsl(68, 43%, 54%)
HSVhsv(68, 54%, 74%)
CMYKcmyk(6.9%, 0%, 54.3%, 26.3%)
CIE-LABlab(73.38, -19.07, 49.31)
CIE-LCHlch(73.38, 52.87, 111.15°)
OKLaboklab(76.4% -0.0551 0.1154)
OKLCHoklch(76.4% 0.128 115.5)
XYZxyz(37.3428, 45.7528, 15.6663)
Luminance0.4575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC56 #6356BC
analogous
#BC9656 #AFBC56 #7CBC56
triadic
#AFBC56 #56AFBC #BC56AF
tetradic
#AFBC56 #56BC96 #6356BC #BC567C
square
#AFBC56 #56BC96 #6356BC #BC567C
split-complementary
#AFBC56 #567CBC #9656BC
monochromatic
#646D2B #8D983C #AFBC56 #C4CD82 #D8DFAE

Accessibility & contrast

On white

2.07
#AFBC56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.15
#AFBC56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBC56
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBC56#FFFFFF#000000##000000
##AFBC561.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B44C
Deuteranopia (green-blind)
#C7B55C
Tritanopia (blue-blind)
#B9B3A5
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbc56;
/* rgb */ color: rgb(175, 188, 86);
/* oklch */ color: oklch(76.4% 0.128 115.5);
Tailwind
colors: {
  custom: {
    50: '#c9d089',
    500: '#afbc56',
    950: '#000000',
  },
}
SCSS
$custom: #afbc56;
$custom-light: #c9d089;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc56",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 86
  },
  "hsl": {
    "h": 67.647,
    "s": 43.22,
    "l": 53.725
  },
  "oklch": {
    "l": 0.76395,
    "c": 0.1279,
    "h": 115.5
  },
  "luminance": 0.45752
}

Semantic roles & 50–950 ramp

primary
#AFBC56
secondary
#A7A1CD
accent
#55D365
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AFBC56

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

Preview Lab → · Contrast checker → · Palette generator →

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