#AFBE59#AFBE59

#AFBE59 is a light, vivid yellow. Relative luminance 0.467; OKLCH L 76.9% C 0.128 H 116.5°. Best body text is #000000 at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#AFBE59
RGBrgb(175, 190, 89)
HSLhsl(69, 44%, 55%)
HSVhsv(69, 53%, 75%)
CMYKcmyk(7.9%, 0%, 53.2%, 25.5%)
CIE-LABlab(73.97, -19.81, 48.59)
CIE-LCHlch(73.97, 52.47, 112.18°)
OKLaboklab(76.88% -0.0569 0.1141)
OKLCHoklch(76.88% 0.128 116.5)
XYZxyz(37.8964, 46.6626, 16.4596)
Luminance0.4666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBE59 #6859BE
analogous
#BE9B59 #AFBE59 #7DBE59
triadic
#AFBE59 #59AFBE #BE59AF
tetradic
#AFBE59 #59BE9B #6859BE #BE597D
square
#AFBE59 #59BE9B #6859BE #BE597D
split-complementary
#AFBE59 #597DBE #9B59BE
monochromatic
#66712C #8E9D3D #AFBE59 #C4CF85 #D9E0B1

Accessibility & contrast

On white

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

On black

10.33
#AFBE59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBE59
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBE59#FFFFFF#000000##000000
##AFBE591.002.0310.3310.33
#FFFFFF2.031.0021.0021.00
#00000010.3321.001.001.00
##00000010.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B54F
Deuteranopia (green-blind)
#C8B75F
Tritanopia (blue-blind)
#B8B5A7
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #afbe59;
/* rgb */ color: rgb(175, 190, 89);
/* oklch */ color: oklch(76.9% 0.128 116.5);
Tailwind
colors: {
  custom: {
    50: '#c9d18b',
    500: '#afbe59',
    950: '#000000',
  },
}
SCSS
$custom: #afbe59;
$custom-light: #c9d18b;
$custom-dark: #000000;
JSON
{
  "hex": "#afbe59",
  "rgb": {
    "r": 175,
    "g": 190,
    "b": 89
  },
  "hsl": {
    "h": 68.911,
    "s": 43.723,
    "l": 54.706
  },
  "oklch": {
    "l": 0.76876,
    "c": 0.12754,
    "h": 116.5
  },
  "luminance": 0.46662
}

Semantic roles & 50–950 ramp

primary
#AFBE59
secondary
#AAA4CF
accent
#54D367
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13140C
muted
#82827D

Preview Lab

Preview with #AFBE59

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

Preview Lab → · Contrast checker → · Palette generator →

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