#AFBE47#AFBE47

#AFBE47 is a light, vivid yellow. Relative luminance 0.464; OKLCH L 76.7% C 0.143 H 116.0°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#AFBE47
RGBrgb(175, 190, 71)
HSLhsl(68, 48%, 51%)
HSVhsv(68, 63%, 75%)
CMYKcmyk(7.9%, 0%, 62.6%, 25.5%)
CIE-LABlab(73.80, -21.24, 56.46)
CIE-LCHlch(73.80, 60.33, 110.61°)
OKLaboklab(76.68% -0.0628 0.1288)
OKLCHoklch(76.68% 0.143 116)
XYZxyz(37.2308, 46.3963, 12.9541)
Luminance0.4640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBE47 #5647BE
analogous
#BE9147 #AFBE47 #73BE47
triadic
#AFBE47 #47AFBE #BE47AF
tetradic
#AFBE47 #47BE91 #5647BE #BE4773
square
#AFBE47 #47BE91 #5647BE #BE4773
split-complementary
#AFBE47 #4773BE #9147BE
monochromatic
#5E6624 #889434 #AFBE47 #C3CE74 #D6DEA1

Accessibility & contrast

On white

2.04
#AFBE47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.28
#AFBE47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBE47
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBE47#FFFFFF#000000##000000
##AFBE471.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB538
Deuteranopia (green-blind)
#C9B64F
Tritanopia (blue-blind)
#B9B4A5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbe47;
/* rgb */ color: rgb(175, 190, 71);
/* oklch */ color: oklch(76.7% 0.143 116.0);
Tailwind
colors: {
  custom: {
    50: '#cad180',
    500: '#afbe47',
    950: '#000000',
  },
}
SCSS
$custom: #afbe47;
$custom-light: #cad180;
$custom-dark: #000000;
JSON
{
  "hex": "#afbe47",
  "rgb": {
    "r": 175,
    "g": 190,
    "b": 71
  },
  "hsl": {
    "h": 67.563,
    "s": 47.791,
    "l": 51.176
  },
  "oklch": {
    "l": 0.76684,
    "c": 0.14331,
    "h": 116
  },
  "luminance": 0.46396
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFBE47

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

Preview Lab → · Contrast checker → · Palette generator →

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