#AFBF36#AFBF36

#AFBF36 is a light, vivid yellow. Relative luminance 0.466; OKLCH L 76.8% C 0.156 H 116.0°. Best body text is #000000 at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#AFBF36
RGBrgb(175, 191, 54)
HSLhsl(67, 56%, 48%)
HSVhsv(67, 72%, 75%)
CMYKcmyk(8.4%, 0%, 71.7%, 25.1%)
CIE-LABlab(73.96, -22.75, 63.26)
CIE-LCHlch(73.96, 67.23, 109.78°)
OKLaboklab(76.77% -0.0686 0.1405)
OKLCHoklch(76.77% 0.156 116)
XYZxyz(36.9768, 46.6424, 10.5443)
Luminance0.4664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBF36 #4636BF
analogous
#BF8A36 #AFBF36 #6BBF36
triadic
#AFBF36 #36AFBF #BF36AF
tetradic
#AFBF36 #36BF8A #4636BF #BF366B
square
#AFBF36 #36BF8A #4636BF #BF366B
split-complementary
#AFBF36 #366BBF #8A36BF
monochromatic
#58601B #838F29 #AFBF36 #C5D260 #D6E090

Accessibility & contrast

On white

2.03
#AFBF36 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.33
#AFBF36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBF36
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBF36#FFFFFF#000000##000000
##AFBF361.002.0310.3310.33
#FFFFFF2.031.0021.0021.00
#00000010.3321.001.001.00
##00000010.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB51D
Deuteranopia (green-blind)
#CBB741
Tritanopia (blue-blind)
#BAB4A4
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #afbf36;
/* rgb */ color: rgb(175, 191, 54);
/* oklch */ color: oklch(76.8% 0.156 116.0);
Tailwind
colors: {
  custom: {
    50: '#cad276',
    500: '#afbf36',
    950: '#000000',
  },
}
SCSS
$custom: #afbf36;
$custom-light: #cad276;
$custom-dark: #000000;
JSON
{
  "hex": "#afbf36",
  "rgb": {
    "r": 175,
    "g": 191,
    "b": 54
  },
  "hsl": {
    "h": 67.007,
    "s": 55.918,
    "l": 48.039
  },
  "oklch": {
    "l": 0.76772,
    "c": 0.15639,
    "h": 116
  },
  "luminance": 0.46642
}

Semantic roles & 50–950 ramp

primary
#AFBF36
secondary
#8E87CA
accent
#49DF5A
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141409
muted
#82827B

Preview Lab

Preview with #AFBF36

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

Preview Lab → · Contrast checker → · Palette generator →

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