#AFBF59#AFBF59

#AFBF59 is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.1% C 0.129 H 116.9°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#AFBF59
RGBrgb(175, 191, 89)
HSLhsl(69, 44%, 55%)
HSVhsv(69, 53%, 75%)
CMYKcmyk(8.4%, 0%, 53.4%, 25.1%)
CIE-LABlab(74.25, -20.31, 48.91)
CIE-LCHlch(74.25, 52.96, 112.55°)
OKLaboklab(77.1% -0.0583 0.1148)
OKLCHoklch(77.1% 0.129 116.9)
XYZxyz(38.1137, 47.0972, 16.5321)
Luminance0.4710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBF59 #6959BF
analogous
#BF9C59 #AFBF59 #7CBF59
triadic
#AFBF59 #59AFBF #BF59AF
tetradic
#AFBF59 #59BF9C #6959BF #BF597C
square
#AFBF59 #59BF9C #6959BF #BF597C
split-complementary
#AFBF59 #597CBF #9C59BF
monochromatic
#67722C #8F9E3D #AFBF59 #C4D085 #DAE1B1

Accessibility & contrast

On white

2.02
#AFBF59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.42
#AFBF59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBF59
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBF59#FFFFFF#000000##000000
##AFBF591.002.0210.4210.42
#FFFFFF2.021.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB64F
Deuteranopia (green-blind)
#C9B75F
Tritanopia (blue-blind)
#B8B6A8
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #afbf59;
/* rgb */ color: rgb(175, 191, 89);
/* oklch */ color: oklch(77.1% 0.129 116.9);
Tailwind
colors: {
  custom: {
    50: '#c9d28b',
    500: '#afbf59',
    950: '#000000',
  },
}
SCSS
$custom: #afbf59;
$custom-light: #c9d28b;
$custom-dark: #000000;
JSON
{
  "hex": "#afbf59",
  "rgb": {
    "r": 175,
    "g": 191,
    "b": 89
  },
  "hsl": {
    "h": 69.412,
    "s": 44.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.77099,
    "c": 0.12879,
    "h": 116.9
  },
  "luminance": 0.47097
}

Semantic roles & 50–950 ramp

primary
#AFBF59
secondary
#ABA4CF
accent
#54D468
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#13140C
muted
#82827D

Preview Lab

Preview with #AFBF59

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

Preview Lab → · Contrast checker → · Palette generator →

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