#AFBF44#AFBF44

#AFBF44 is a light, vivid yellow. Relative luminance 0.468; OKLCH L 76.9% C 0.147 H 116.3°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#AFBF44
RGBrgb(175, 191, 68)
HSLhsl(68, 49%, 51%)
HSVhsv(68, 64%, 75%)
CMYKcmyk(8.4%, 0%, 64.4%, 25.1%)
CIE-LABlab(74.06, -21.93, 57.99)
CIE-LCHlch(74.06, 62.00, 110.72°)
OKLaboklab(76.88% -0.065 0.1316)
OKLCHoklch(76.88% 0.147 116.3)
XYZxyz(37.3542, 46.7934, 12.5320)
Luminance0.4679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBF44 #5444BF
analogous
#BF9144 #AFBF44 #71BF44
triadic
#AFBF44 #44AFBF #BF44AF
tetradic
#AFBF44 #44BF91 #5444BF #BF4471
square
#AFBF44 #44BF91 #5444BF #BF4471
split-complementary
#AFBF44 #4471BF #9144BF
monochromatic
#5D6623 #879332 #AFBF44 #C3CF72 #D6DE9F

Accessibility & contrast

On white

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

On black

10.36
#AFBF44 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBF44
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBF44#FFFFFF#000000##000000
##AFBF441.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afbf44;
/* rgb */ color: rgb(175, 191, 68);
/* oklch */ color: oklch(76.9% 0.147 116.3);
Tailwind
colors: {
  custom: {
    50: '#cad27e',
    500: '#afbf44',
    950: '#000000',
  },
}
SCSS
$custom: #afbf44;
$custom-light: #cad27e;
$custom-dark: #000000;
JSON
{
  "hex": "#afbf44",
  "rgb": {
    "r": 175,
    "g": 191,
    "b": 68
  },
  "hsl": {
    "h": 67.805,
    "s": 49.004,
    "l": 50.784
  },
  "oklch": {
    "l": 0.76881,
    "c": 0.14681,
    "h": 116.3
  },
  "luminance": 0.46793
}

Semantic roles & 50–950 ramp

primary
#AFBF44
secondary
#9B94CB
accent
#4FD961
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #AFBF44

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

Preview Lab → · Contrast checker → · Palette generator →

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