#AFBC41#AFBC41

#AFBC41 is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.2% C 0.146 H 115.1°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#AFBC41
RGBrgb(175, 188, 65)
HSLhsl(66, 49%, 50%)
HSVhsv(66, 65%, 74%)
CMYKcmyk(6.9%, 0%, 65.4%, 26.3%)
CIE-LABlab(73.20, -20.64, 58.31)
CIE-LCHlch(73.20, 61.85, 109.50°)
OKLaboklab(76.18% -0.0617 0.1319)
OKLCHoklch(76.18% 0.146 115.1)
XYZxyz(36.6174, 45.4626, 11.8462)
Luminance0.4546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC41 #4E41BC
analogous
#BC8B41 #AFBC41 #72BC41
triadic
#AFBC41 #41AFBC #BC41AF
tetradic
#AFBC41 #41BC8B #4E41BC #BC4172
square
#AFBC41 #41BC8B #4E41BC #BC4172
split-complementary
#AFBC41 #4172BC #8B41BC
monochromatic
#5A6122 #858F31 #AFBC41 #C3CD6E #D6DC9B

Accessibility & contrast

On white

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

On black

10.09
#AFBC41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBC41
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBC41#FFFFFF#000000##000000
##AFBC411.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B330
Deuteranopia (green-blind)
#C8B54A
Tritanopia (blue-blind)
#BAB1A3
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbc41;
/* rgb */ color: rgb(175, 188, 65);
/* oklch */ color: oklch(76.2% 0.146 115.1);
Tailwind
colors: {
  custom: {
    50: '#cad07c',
    500: '#afbc41',
    950: '#000000',
  },
}
SCSS
$custom: #afbc41;
$custom-light: #cad07c;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc41",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 65
  },
  "hsl": {
    "h": 66.341,
    "s": 48.617,
    "l": 49.608
  },
  "oklch": {
    "l": 0.76182,
    "c": 0.14558,
    "h": 115.1
  },
  "luminance": 0.45462
}

Semantic roles & 50–950 ramp

primary
#AFBC41
secondary
#9690C9
accent
#50D85E
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFBC41

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

Preview Lab → · Contrast checker → · Palette generator →

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