#AFBC58#AFBC58

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

Color values

HEX#AFBC58
RGBrgb(175, 188, 88)
HSLhsl(68, 43%, 54%)
HSVhsv(68, 53%, 74%)
CMYKcmyk(6.9%, 0%, 53.2%, 26.3%)
CIE-LABlab(73.41, -18.90, 48.40)
CIE-LCHlch(73.41, 51.96, 111.33°)
OKLaboklab(76.42% -0.0544 0.1136)
OKLCHoklch(76.42% 0.126 115.6)
XYZxyz(37.4245, 45.7855, 16.0966)
Luminance0.4578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC58 #6558BC
analogous
#BC9758 #AFBC58 #7DBC58
triadic
#AFBC58 #58AFBC #BC58AF
tetradic
#AFBC58 #58BC97 #6558BC #BC587D
square
#AFBC58 #58BC97 #6558BC #BC587D
split-complementary
#AFBC58 #587DBC #9758BC
monochromatic
#656E2C #8D993E #AFBC58 #C4CE84 #D9DFAF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBC58#FFFFFF#000000##000000
##AFBC581.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)
#C8B44E
Deuteranopia (green-blind)
#C7B55E
Tritanopia (blue-blind)
#B8B3A6
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbc58;
/* rgb */ color: rgb(175, 188, 88);
/* oklch */ color: oklch(76.4% 0.126 115.6);
Tailwind
colors: {
  custom: {
    50: '#c9d08a',
    500: '#afbc58',
    950: '#000000',
  },
}
SCSS
$custom: #afbc58;
$custom-light: #c9d08a;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc58",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 88
  },
  "hsl": {
    "h": 67.8,
    "s": 42.735,
    "l": 54.118
  },
  "oklch": {
    "l": 0.76419,
    "c": 0.126,
    "h": 115.6
  },
  "luminance": 0.45785
}

Semantic roles & 50–950 ramp

primary
#AFBC58
secondary
#A8A3CD
accent
#55D366
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AFBC58

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

Preview Lab → · Contrast checker → · Palette generator →

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