#AFB11C#AFB11C

#AFB11C is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.5% C 0.155 H 110.5°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#AFB11C
RGBrgb(175, 177, 28)
HSLhsl(61, 73%, 40%)
HSVhsv(61, 84%, 69%)
CMYKcmyk(1.1%, 0%, 84.2%, 30.6%)
CIE-LABlab(69.93, -16.79, 67.37)
CIE-LCHlch(69.93, 69.43, 103.99°)
OKLaboklab(73.5% -0.0541 0.1447)
OKLCHoklch(73.5% 0.155 110.5)
XYZxyz(33.6122, 40.6431, 7.1727)
Luminance0.4064 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB11C #1E1CB1
analogous
#B1681C #AFB11C #65B11C
triadic
#AFB11C #1CAFB1 #B11CAF
tetradic
#AFB11C #1CB168 #1E1CB1 #B11C65
square
#AFB11C #1CB168 #1E1CB1 #B11C65
split-complementary
#AFB11C #1C65B1 #681CB1
monochromatic
#47470B #7B7C14 #AFB11C #DBDE2C #E4E661

Accessibility & contrast

On white

2.30
#AFB11C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#AFB11C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB11C
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB11C#FFFFFF#000000##000000
##AFB11C1.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#C1AD2C
Tritanopia (blue-blind)
#BCA597
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afb11c;
/* rgb */ color: rgb(175, 177, 28);
/* oklch */ color: oklch(73.5% 0.155 110.5);
Tailwind
colors: {
  custom: {
    50: '#cbc869',
    500: '#afb11c',
    950: '#000000',
  },
}
SCSS
$custom: #afb11c;
$custom-light: #cbc869;
$custom-dark: #000000;
JSON
{
  "hex": "#afb11c",
  "rgb": {
    "r": 175,
    "g": 177,
    "b": 28
  },
  "hsl": {
    "h": 60.805,
    "s": 72.683,
    "l": 40.196
  },
  "oklch": {
    "l": 0.73499,
    "c": 0.15453,
    "h": 110.5
  },
  "luminance": 0.40642
}

Semantic roles & 50–950 ramp

primary
#AFB11C
secondary
#605ECB
accent
#38EF3B
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A

Preview Lab

Preview with #AFB11C

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

Preview Lab → · Contrast checker → · Palette generator →

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