#AFBC59#AFBC59

#AFBC59 is a light, vivid yellow. Relative luminance 0.458; OKLCH L 76.4% C 0.125 H 115.6°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#AFBC59
RGBrgb(175, 188, 89)
HSLhsl(68, 42%, 54%)
HSVhsv(68, 53%, 74%)
CMYKcmyk(6.9%, 0%, 52.7%, 26.3%)
CIE-LABlab(73.42, -18.81, 47.94)
CIE-LCHlch(73.42, 51.49, 111.42°)
OKLaboklab(76.43% -0.0541 0.1127)
OKLCHoklch(76.43% 0.125 115.6)
XYZxyz(37.4662, 45.8021, 16.3162)
Luminance0.4580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC59 #6659BC
analogous
#BC9859 #AFBC59 #7EBC59
triadic
#AFBC59 #59AFBC #BC59AF
tetradic
#AFBC59 #59BC98 #6659BC #BC597E
square
#AFBC59 #59BC98 #6659BC #BC597E
split-complementary
#AFBC59 #597EBC #9859BC
monochromatic
#666E2C #8E9A3E #AFBC59 #C4CE85 #D9DFB0

Accessibility & contrast

On white

2.07
#AFBC59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.16
#AFBC59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBC59
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBC59#FFFFFF#000000##000000
##AFBC591.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B450
Deuteranopia (green-blind)
#C6B55F
Tritanopia (blue-blind)
#B8B3A6
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbc59;
/* rgb */ color: rgb(175, 188, 89);
/* oklch */ color: oklch(76.4% 0.125 115.6);
Tailwind
colors: {
  custom: {
    50: '#c9d08b',
    500: '#afbc59',
    950: '#000000',
  },
}
SCSS
$custom: #afbc59;
$custom-light: #c9d08b;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc59",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 89
  },
  "hsl": {
    "h": 67.879,
    "s": 42.489,
    "l": 54.314
  },
  "oklch": {
    "l": 0.76431,
    "c": 0.12504,
    "h": 115.6
  },
  "luminance": 0.45802
}

Semantic roles & 50–950 ramp

primary
#AFBC59
secondary
#A9A3CD
accent
#56D266
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AFBC59

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

Preview Lab → · Contrast checker → · Palette generator →

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