#AFB11A#AFB11A

#AFB11A 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#AFB11A
RGBrgb(175, 177, 26)
HSLhsl(61, 74%, 40%)
HSVhsv(61, 85%, 69%)
CMYKcmyk(1.1%, 0%, 85.3%, 30.6%)
CIE-LABlab(69.92, -16.84, 67.82)
CIE-LCHlch(69.92, 69.88, 103.94°)
OKLaboklab(73.49% -0.0544 0.1454)
OKLCHoklch(73.49% 0.155 110.5)
XYZxyz(33.5891, 40.6338, 7.0508)
Luminance0.4063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB11A #1C1AB1
analogous
#B1681A #AFB11A #63B11A
triadic
#AFB11A #1AAFB1 #B11AAF
tetradic
#AFB11A #1AB168 #1C1AB1 #B11A63
square
#AFB11A #1AB168 #1C1AB1 #B11A63
split-complementary
#AFB11A #1A63B1 #681AB1
monochromatic
#45460A #7A7C12 #AFB11A #DDE029 #E6E75E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFB11A#FFFFFF#000000##000000
##AFB11A1.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)
#C1AD2B
Tritanopia (blue-blind)
#BCA597
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afb11a;
/* rgb */ color: rgb(175, 177, 26);
/* oklch */ color: oklch(73.5% 0.155 110.5);
Tailwind
colors: {
  custom: {
    50: '#cbc869',
    500: '#afb11a',
    950: '#000000',
  },
}
SCSS
$custom: #afb11a;
$custom-light: #cbc869;
$custom-dark: #000000;
JSON
{
  "hex": "#afb11a",
  "rgb": {
    "r": 175,
    "g": 177,
    "b": 26
  },
  "hsl": {
    "h": 60.795,
    "s": 74.384,
    "l": 39.804
  },
  "oklch": {
    "l": 0.73492,
    "c": 0.15522,
    "h": 110.5
  },
  "luminance": 0.40633
}

Semantic roles & 50–950 ramp

primary
#AFB11A
secondary
#5D5BCB
accent
#37F139
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A

Preview Lab

Preview with #AFB11A

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

Preview Lab → · Contrast checker → · Palette generator →

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