#AFBD59#AFBD59

#AFBD59 is a light, vivid yellow. Relative luminance 0.462; OKLCH L 76.7% C 0.126 H 116.1°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#AFBD59
RGBrgb(175, 189, 89)
HSLhsl(68, 43%, 55%)
HSVhsv(68, 53%, 74%)
CMYKcmyk(7.4%, 0%, 52.9%, 25.9%)
CIE-LABlab(73.70, -19.31, 48.26)
CIE-LCHlch(73.70, 51.98, 111.81°)
OKLaboklab(76.65% -0.0555 0.1134)
OKLCHoklch(76.65% 0.126 116.1)
XYZxyz(37.6805, 46.2309, 16.3877)
Luminance0.4623 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBD59 #6759BD
analogous
#BD9959 #AFBD59 #7DBD59
triadic
#AFBD59 #59AFBD #BD59AF
tetradic
#AFBD59 #59BD99 #6759BD #BD597D
square
#AFBD59 #59BD99 #6759BD #BD597D
split-complementary
#AFBD59 #597DBD #9959BD
monochromatic
#666F2C #8E9B3E #AFBD59 #C4CE85 #D9E0B1

Accessibility & contrast

On white

2.05
#AFBD59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.25
#AFBD59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBD59
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBD59#FFFFFF#000000##000000
##AFBD591.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B44F
Deuteranopia (green-blind)
#C7B65F
Tritanopia (blue-blind)
#B8B4A7
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbd59;
/* rgb */ color: rgb(175, 189, 89);
/* oklch */ color: oklch(76.7% 0.126 116.1);
Tailwind
colors: {
  custom: {
    50: '#c9d08b',
    500: '#afbd59',
    950: '#000000',
  },
}
SCSS
$custom: #afbd59;
$custom-light: #c9d08b;
$custom-dark: #000000;
JSON
{
  "hex": "#afbd59",
  "rgb": {
    "r": 175,
    "g": 189,
    "b": 89
  },
  "hsl": {
    "h": 68.4,
    "s": 43.103,
    "l": 54.51
  },
  "oklch": {
    "l": 0.76654,
    "c": 0.12628,
    "h": 116.1
  },
  "luminance": 0.4623
}

Semantic roles & 50–950 ramp

primary
#AFBD59
secondary
#AAA4CE
accent
#55D367
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13140C
muted
#82827D

Preview Lab

Preview with #AFBD59

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

Preview Lab → · Contrast checker → · Palette generator →

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