#AFBE55#AFBE55

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

Color values

HEX#AFBE55
RGBrgb(175, 190, 85)
HSLhsl(69, 45%, 54%)
HSVhsv(69, 55%, 75%)
CMYKcmyk(7.9%, 0%, 55.3%, 25.5%)
CIE-LABlab(73.93, -20.16, 50.40)
CIE-LCHlch(73.93, 54.28, 111.80°)
OKLaboklab(76.83% -0.0583 0.1177)
OKLCHoklch(76.83% 0.131 116.4)
XYZxyz(37.7330, 46.5972, 15.5990)
Luminance0.4660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBE55 #6455BE
analogous
#BE9955 #AFBE55 #7BBE55
triadic
#AFBE55 #55AFBE #BE55AF
tetradic
#AFBE55 #55BE99 #6455BE #BE557B
square
#AFBE55 #55BE99 #6455BE #BE557B
split-complementary
#AFBE55 #557BBE #9955BE
monochromatic
#656E2A #8D9B3B #AFBE55 #C4CF81 #D9E0AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBE55#FFFFFF#000000##000000
##AFBE551.002.0410.3210.32
#FFFFFF2.041.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB54A
Deuteranopia (green-blind)
#C8B75B
Tritanopia (blue-blind)
#B9B4A7
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #afbe55;
/* rgb */ color: rgb(175, 190, 85);
/* oklch */ color: oklch(76.8% 0.131 116.4);
Tailwind
colors: {
  custom: {
    50: '#c9d188',
    500: '#afbe55',
    950: '#000000',
  },
}
SCSS
$custom: #afbe55;
$custom-light: #c9d188;
$custom-dark: #000000;
JSON
{
  "hex": "#afbe55",
  "rgb": {
    "r": 175,
    "g": 190,
    "b": 85
  },
  "hsl": {
    "h": 68.571,
    "s": 44.681,
    "l": 53.922
  },
  "oklch": {
    "l": 0.76829,
    "c": 0.1313,
    "h": 116.4
  },
  "luminance": 0.46597
}

Semantic roles & 50–950 ramp

primary
#AFBE55
secondary
#A7A1CE
accent
#53D466
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#13140C
muted
#82827D

Preview Lab

Preview with #AFBE55

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

Preview Lab → · Contrast checker → · Palette generator →

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