#AFBF43#AFBF43

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

Color values

HEX#AFBF43
RGBrgb(175, 191, 67)
HSLhsl(68, 49%, 51%)
HSVhsv(68, 65%, 75%)
CMYKcmyk(8.4%, 0%, 64.9%, 25.1%)
CIE-LABlab(74.05, -22.00, 58.39)
CIE-LCHlch(74.05, 62.39, 110.65°)
OKLaboklab(76.87% -0.0653 0.1323)
OKLCHoklch(76.87% 0.148 116.3)
XYZxyz(37.3239, 46.7813, 12.3726)
Luminance0.4678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBF43 #5343BF
analogous
#BF9143 #AFBF43 #71BF43
triadic
#AFBF43 #43AFBF #BF43AF
tetradic
#AFBF43 #43BF91 #5343BF #BF4371
square
#AFBF43 #43BF91 #5343BF #BF4371
split-complementary
#AFBF43 #4371BF #9143BF
monochromatic
#5D6522 #869332 #AFBF43 #C2CF71 #D6DE9E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBF43#FFFFFF#000000##000000
##AFBF431.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)
#CCB532
Deuteranopia (green-blind)
#CAB74C
Tritanopia (blue-blind)
#BAB5A6
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #afbf43;
/* rgb */ color: rgb(175, 191, 67);
/* oklch */ color: oklch(76.9% 0.148 116.3);
Tailwind
colors: {
  custom: {
    50: '#cad27d',
    500: '#afbf43',
    950: '#000000',
  },
}
SCSS
$custom: #afbf43;
$custom-light: #cad27d;
$custom-dark: #000000;
JSON
{
  "hex": "#afbf43",
  "rgb": {
    "r": 175,
    "g": 191,
    "b": 67
  },
  "hsl": {
    "h": 67.742,
    "s": 49.206,
    "l": 50.588
  },
  "oklch": {
    "l": 0.76872,
    "c": 0.14755,
    "h": 116.3
  },
  "luminance": 0.46781
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFBF43

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

Preview Lab → · Contrast checker → · Palette generator →

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