#AFBB59#AFBB59

#AFBB59 is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.2% C 0.124 H 115.2°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#AFBB59
RGBrgb(175, 187, 89)
HSLhsl(67, 42%, 54%)
HSVhsv(67, 52%, 73%)
CMYKcmyk(6.4%, 0%, 52.4%, 26.7%)
CIE-LABlab(73.14, -18.31, 47.61)
CIE-LCHlch(73.14, 51.01, 111.03°)
OKLaboklab(76.21% -0.0527 0.112)
OKLCHoklch(76.21% 0.124 115.2)
XYZxyz(37.2533, 45.3764, 16.2453)
Luminance0.4538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB59 #6559BB
analogous
#BB9659 #AFBB59 #7EBB59
triadic
#AFBB59 #59AFBB #BB59AF
tetradic
#AFBB59 #59BB96 #6559BB #BB597E
square
#AFBB59 #59BB96 #6559BB #BB597E
split-complementary
#AFBB59 #597EBB #9659BB
monochromatic
#656D2D #8D983E #AFBB59 #C4CD84 #D9DFB0

Accessibility & contrast

On white

2.08
#AFBB59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#AFBB59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBB59
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBB59#FFFFFF#000000##000000
##AFBB591.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B350
Deuteranopia (green-blind)
#C6B45E
Tritanopia (blue-blind)
#B9B2A5
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbb59;
/* rgb */ color: rgb(175, 187, 89);
/* oklch */ color: oklch(76.2% 0.124 115.2);
Tailwind
colors: {
  custom: {
    50: '#c9cf8b',
    500: '#afbb59',
    950: '#000000',
  },
}
SCSS
$custom: #afbb59;
$custom-light: #c9cf8b;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb59",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 89
  },
  "hsl": {
    "h": 67.347,
    "s": 41.88,
    "l": 54.118
  },
  "oklch": {
    "l": 0.76209,
    "c": 0.12378,
    "h": 115.2
  },
  "luminance": 0.45376
}

Semantic roles & 50–950 ramp

primary
#AFBB59
secondary
#A8A3CD
accent
#56D265
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AFBB59

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

Preview Lab → · Contrast checker → · Palette generator →

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