#AFBF49#AFBF49

#AFBF49 is a light, vivid yellow. Relative luminance 0.469; OKLCH L 76.9% C 0.143 H 116.4°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#AFBF49
RGBrgb(175, 191, 73)
HSLhsl(68, 48%, 52%)
HSVhsv(68, 62%, 75%)
CMYKcmyk(8.4%, 0%, 61.8%, 25.1%)
CIE-LABlab(74.10, -21.59, 55.93)
CIE-LCHlch(74.10, 59.96, 111.11°)
OKLaboklab(76.93% -0.0635 0.128)
OKLCHoklch(76.93% 0.143 116.4)
XYZxyz(37.5134, 46.8571, 13.3702)
Luminance0.4686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBF49 #5949BF
analogous
#BF9449 #AFBF49 #74BF49
triadic
#AFBF49 #49AFBF #BF49AF
tetradic
#AFBF49 #49BF94 #5949BF #BF4974
square
#AFBF49 #49BF94 #5949BF #BF4974
split-complementary
#AFBF49 #4974BF #9449BF
monochromatic
#606925 #899635 #AFBF49 #C3CF76 #D7DFA4

Accessibility & contrast

On white

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

On black

10.37
#AFBF49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBF49
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBF49#FFFFFF#000000##000000
##AFBF491.002.0210.3710.37
#FFFFFF2.021.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB63B
Deuteranopia (green-blind)
#CAB751
Tritanopia (blue-blind)
#B9B5A6
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #afbf49;
/* rgb */ color: rgb(175, 191, 73);
/* oklch */ color: oklch(76.9% 0.143 116.4);
Tailwind
colors: {
  custom: {
    50: '#c9d281',
    500: '#afbf49',
    950: '#000000',
  },
}
SCSS
$custom: #afbf49;
$custom-light: #c9d281;
$custom-dark: #000000;
JSON
{
  "hex": "#afbf49",
  "rgb": {
    "r": 175,
    "g": 191,
    "b": 73
  },
  "hsl": {
    "h": 68.136,
    "s": 47.967,
    "l": 51.765
  },
  "oklch": {
    "l": 0.76927,
    "c": 0.14289,
    "h": 116.4
  },
  "luminance": 0.46857
}

Semantic roles & 50–950 ramp

primary
#AFBF49
secondary
#9F98CC
accent
#50D863
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140B
muted
#82827C

Preview Lab

Preview with #AFBF49

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

Preview Lab → · Contrast checker → · Palette generator →

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