#AFBC54#AFBC54

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

Color values

HEX#AFBC54
RGBrgb(175, 188, 84)
HSLhsl(68, 44%, 53%)
HSVhsv(68, 55%, 74%)
CMYKcmyk(6.9%, 0%, 55.3%, 26.3%)
CIE-LABlab(73.36, -19.24, 50.22)
CIE-LCHlch(73.36, 53.78, 110.97°)
OKLaboklab(76.37% -0.0558 0.1171)
OKLCHoklch(76.37% 0.13 115.5)
XYZxyz(37.2633, 45.7210, 15.2478)
Luminance0.4572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC54 #6154BC
analogous
#BC9554 #AFBC54 #7BBC54
triadic
#AFBC54 #54AFBC #BC54AF
tetradic
#AFBC54 #54BC95 #6154BC #BC547B
square
#AFBC54 #54BC95 #6154BC #BC547B
split-complementary
#AFBC54 #547BBC #9554BC
monochromatic
#636B2A #8C973B #AFBC54 #C4CD80 #D8DEAC

Accessibility & contrast

On white

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

On black

10.14
#AFBC54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBC54
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBC54#FFFFFF#000000##000000
##AFBC541.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B349
Deuteranopia (green-blind)
#C7B55A
Tritanopia (blue-blind)
#B9B2A5
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbc54;
/* rgb */ color: rgb(175, 188, 84);
/* oklch */ color: oklch(76.4% 0.130 115.5);
Tailwind
colors: {
  custom: {
    50: '#c9d087',
    500: '#afbc54',
    950: '#000000',
  },
}
SCSS
$custom: #afbc54;
$custom-light: #c9d087;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc54",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 84
  },
  "hsl": {
    "h": 67.5,
    "s": 43.697,
    "l": 53.333
  },
  "oklch": {
    "l": 0.76372,
    "c": 0.12976,
    "h": 115.5
  },
  "luminance": 0.4572
}

Semantic roles & 50–950 ramp

primary
#AFBC54
secondary
#A5A0CC
accent
#54D364
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#13130B
muted
#82827C

Preview Lab

Preview with #AFBC54

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

Preview Lab → · Contrast checker → · Palette generator →

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