#AFBF46#AFBF46

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

Color values

HEX#AFBF46
RGBrgb(175, 191, 70)
HSLhsl(68, 49%, 51%)
HSVhsv(68, 63%, 75%)
CMYKcmyk(8.4%, 0%, 63.4%, 25.1%)
CIE-LABlab(74.07, -21.80, 57.17)
CIE-LCHlch(74.07, 61.19, 110.87°)
OKLaboklab(76.9% -0.0644 0.1302)
OKLCHoklch(76.9% 0.145 116.3)
XYZxyz(37.4163, 46.8182, 12.8589)
Luminance0.4682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBF46 #5646BF
analogous
#BF9246 #AFBF46 #72BF46
triadic
#AFBF46 #46AFBF #BF46AF
tetradic
#AFBF46 #46BF92 #5646BF #BF4672
square
#AFBF46 #46BF92 #5646BF #BF4672
split-complementary
#AFBF46 #4672BF #9246BF
monochromatic
#5E6724 #889433 #AFBF46 #C3CF73 #D6DEA1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBF46#FFFFFF#000000##000000
##AFBF461.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)
#CCB537
Deuteranopia (green-blind)
#CAB74E
Tritanopia (blue-blind)
#B9B5A6
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #afbf46;
/* rgb */ color: rgb(175, 191, 70);
/* oklch */ color: oklch(76.9% 0.145 116.3);
Tailwind
colors: {
  custom: {
    50: '#cad27f',
    500: '#afbf46',
    950: '#000000',
  },
}
SCSS
$custom: #afbf46;
$custom-light: #cad27f;
$custom-dark: #000000;
JSON
{
  "hex": "#afbf46",
  "rgb": {
    "r": 175,
    "g": 191,
    "b": 70
  },
  "hsl": {
    "h": 67.934,
    "s": 48.594,
    "l": 51.176
  },
  "oklch": {
    "l": 0.76899,
    "c": 0.14527,
    "h": 116.3
  },
  "luminance": 0.46818
}

Semantic roles & 50–950 ramp

primary
#AFBF46
secondary
#9D96CB
accent
#50D862
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140A
muted
#82827C

Preview Lab

Preview with #AFBF46

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

Preview Lab → · Contrast checker → · Palette generator →

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