#AFBF33#AFBF33

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

Color values

HEX#AFBF33
RGBrgb(175, 191, 51)
HSLhsl(67, 58%, 47%)
HSVhsv(67, 73%, 75%)
CMYKcmyk(8.4%, 0%, 73.3%, 25.1%)
CIE-LABlab(73.94, -22.90, 64.29)
CIE-LCHlch(73.94, 68.24, 109.61°)
OKLaboklab(76.75% -0.0693 0.1422)
OKLCHoklch(76.75% 0.158 116)
XYZxyz(36.9085, 46.6151, 10.1846)
Luminance0.4662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBF33 #4333BF
analogous
#BF8933 #AFBF33 #69BF33
triadic
#AFBF33 #33AFBF #BF33AF
tetradic
#AFBF33 #33BF89 #4333BF #BF3369
square
#AFBF33 #33BF89 #4333BF #BF3369
split-complementary
#AFBF33 #3369BF #8933BF
monochromatic
#565E19 #838F26 #AFBF33 #C6D35C #D7E08C

Accessibility & contrast

On white

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

On black

10.32
#AFBF33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBF33
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBF33#FFFFFF#000000##000000
##AFBF331.002.0310.3210.32
#FFFFFF2.031.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afbf33;
/* rgb */ color: rgb(175, 191, 51);
/* oklch */ color: oklch(76.8% 0.158 116.0);
Tailwind
colors: {
  custom: {
    50: '#cad275',
    500: '#afbf33',
    950: '#000000',
  },
}
SCSS
$custom: #afbf33;
$custom-light: #cad275;
$custom-dark: #000000;
JSON
{
  "hex": "#afbf33",
  "rgb": {
    "r": 175,
    "g": 191,
    "b": 51
  },
  "hsl": {
    "h": 66.857,
    "s": 57.851,
    "l": 47.451
  },
  "oklch": {
    "l": 0.76753,
    "c": 0.15817,
    "h": 116
  },
  "luminance": 0.46615
}

Semantic roles & 50–950 ramp

primary
#AFBF33
secondary
#8B83CB
accent
#47E158
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B

Preview Lab

Preview with #AFBF33

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

Preview Lab → · Contrast checker → · Palette generator →

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