#AFBC52#AFBC52

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

Color values

HEX#AFBC52
RGBrgb(175, 188, 82)
HSLhsl(67, 44%, 53%)
HSVhsv(67, 56%, 74%)
CMYKcmyk(6.9%, 0%, 56.4%, 26.3%)
CIE-LABlab(73.34, -19.41, 51.11)
CIE-LCHlch(73.34, 54.67, 110.79°)
OKLaboklab(76.35% -0.0565 0.1188)
OKLCHoklch(76.35% 0.132 115.4)
XYZxyz(37.1861, 45.6901, 14.8411)
Luminance0.4569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC52 #5F52BC
analogous
#BC9452 #AFBC52 #7ABC52
triadic
#AFBC52 #52AFBC #BC52AF
tetradic
#AFBC52 #52BC94 #5F52BC #BC527A
square
#AFBC52 #52BC94 #5F52BC #BC527A
split-complementary
#AFBC52 #527ABC #9452BC
monochromatic
#626A29 #8B973A #AFBC52 #C3CD7E #D8DEAA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBC52#FFFFFF#000000##000000
##AFBC521.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)
#C8B347
Deuteranopia (green-blind)
#C7B558
Tritanopia (blue-blind)
#B9B2A5
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbc52;
/* rgb */ color: rgb(175, 188, 82);
/* oklch */ color: oklch(76.3% 0.132 115.4);
Tailwind
colors: {
  custom: {
    50: '#c9d086',
    500: '#afbc52',
    950: '#000000',
  },
}
SCSS
$custom: #afbc52;
$custom-light: #c9d086;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc52",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 82
  },
  "hsl": {
    "h": 67.358,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.76349,
    "c": 0.13158,
    "h": 115.4
  },
  "luminance": 0.4569
}

Semantic roles & 50–950 ramp

primary
#AFBC52
secondary
#A49ECC
accent
#54D464
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#13130B
muted
#82827C

Preview Lab

Preview with #AFBC52

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

Preview Lab → · Contrast checker → · Palette generator →

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