#AFBF53#AFBF53

#AFBF53 is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.0% C 0.134 H 116.7°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#AFBF53
RGBrgb(175, 191, 83)
HSLhsl(69, 46%, 54%)
HSVhsv(69, 57%, 75%)
CMYKcmyk(8.4%, 0%, 56.5%, 25.1%)
CIE-LABlab(74.19, -20.82, 51.62)
CIE-LCHlch(74.19, 55.66, 111.97°)
OKLaboklab(77.03% -0.0604 0.12)
OKLCHoklch(77.03% 0.134 116.7)
XYZxyz(37.8720, 47.0005, 15.2589)
Luminance0.4700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBF53 #6353BF
analogous
#BF9953 #AFBF53 #79BF53
triadic
#AFBF53 #53AFBF #BF53AF
tetradic
#AFBF53 #53BF99 #6353BF #BF5379
square
#AFBF53 #53BF99 #6353BF #BF5379
split-complementary
#AFBF53 #5379BF #9953BF
monochromatic
#646E29 #8D9B3A #AFBF53 #C4D080 #D8E0AC

Accessibility & contrast

On white

2.02
#AFBF53 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.40
#AFBF53 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBF53
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBF53#FFFFFF#000000##000000
##AFBF531.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB648
Deuteranopia (green-blind)
#C9B75A
Tritanopia (blue-blind)
#B9B5A7
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #afbf53;
/* rgb */ color: rgb(175, 191, 83);
/* oklch */ color: oklch(77.0% 0.134 116.7);
Tailwind
colors: {
  custom: {
    50: '#c9d287',
    500: '#afbf53',
    950: '#000000',
  },
}
SCSS
$custom: #afbf53;
$custom-light: #c9d287;
$custom-dark: #000000;
JSON
{
  "hex": "#afbf53",
  "rgb": {
    "r": 175,
    "g": 191,
    "b": 83
  },
  "hsl": {
    "h": 68.889,
    "s": 45.763,
    "l": 53.725
  },
  "oklch": {
    "l": 0.7703,
    "c": 0.13436,
    "h": 116.7
  },
  "luminance": 0.47
}

Semantic roles & 50–950 ramp

primary
#AFBF53
secondary
#A7A0CE
accent
#52D566
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#13140B
muted
#82827C

Preview Lab

Preview with #AFBF53

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

Preview Lab → · Contrast checker → · Palette generator →

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