#AFBE46#AFBE46

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

Color values

HEX#AFBE46
RGBrgb(175, 190, 70)
HSLhsl(68, 48%, 51%)
HSVhsv(68, 63%, 75%)
CMYKcmyk(7.9%, 0%, 63.2%, 25.5%)
CIE-LABlab(73.79, -21.31, 56.88)
CIE-LCHlch(73.79, 60.74, 110.54°)
OKLaboklab(76.68% -0.063 0.1296)
OKLCHoklch(76.68% 0.144 115.9)
XYZxyz(37.1989, 46.3836, 12.7865)
Luminance0.4638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBE46 #5546BE
analogous
#BE9146 #AFBE46 #73BE46
triadic
#AFBE46 #46AFBE #BE46AF
tetradic
#AFBE46 #46BE91 #5546BE #BE4673
square
#AFBE46 #46BE91 #5546BE #BE4673
split-complementary
#AFBE46 #4673BE #9146BE
monochromatic
#5E6624 #879334 #AFBE46 #C3CE73 #D6DEA1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBE46#FFFFFF#000000##000000
##AFBE461.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)
#CBB537
Deuteranopia (green-blind)
#C9B64E
Tritanopia (blue-blind)
#B9B4A5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbe46;
/* rgb */ color: rgb(175, 190, 70);
/* oklch */ color: oklch(76.7% 0.144 115.9);
Tailwind
colors: {
  custom: {
    50: '#cad17f',
    500: '#afbe46',
    950: '#000000',
  },
}
SCSS
$custom: #afbe46;
$custom-light: #cad17f;
$custom-dark: #000000;
JSON
{
  "hex": "#afbe46",
  "rgb": {
    "r": 175,
    "g": 190,
    "b": 70
  },
  "hsl": {
    "h": 67.5,
    "s": 48,
    "l": 50.98
  },
  "oklch": {
    "l": 0.76675,
    "c": 0.1441,
    "h": 115.9
  },
  "luminance": 0.46383
}

Semantic roles & 50–950 ramp

primary
#AFBE46
secondary
#9C95CA
accent
#50D861
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140A
muted
#82827C

Preview Lab

Preview with #AFBE46

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

Preview Lab → · Contrast checker → · Palette generator →

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