#AFB11D#AFB11D

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

Color values

HEX#AFB11D
RGBrgb(175, 177, 29)
HSLhsl(61, 72%, 40%)
HSVhsv(61, 84%, 69%)
CMYKcmyk(1.1%, 0%, 83.6%, 30.6%)
CIE-LABlab(69.93, -16.76, 67.14)
CIE-LCHlch(69.93, 69.20, 104.01°)
OKLaboklab(73.5% -0.054 0.1444)
OKLCHoklch(73.5% 0.154 110.5)
XYZxyz(33.6244, 40.6479, 7.2368)
Luminance0.4065 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB11D #1F1DB1
analogous
#B1691D #AFB11D #65B11D
triadic
#AFB11D #1DAFB1 #B11DAF
tetradic
#AFB11D #1DB169 #1F1DB1 #B11D65
square
#AFB11D #1DB169 #1F1DB1 #B11D65
split-complementary
#AFB11D #1D65B1 #691DB1
monochromatic
#47480C #7B7C14 #AFB11D #DADD2E #E4E563

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #afb11d;
/* rgb */ color: rgb(175, 177, 29);
/* oklch */ color: oklch(73.5% 0.154 110.5);
Tailwind
colors: {
  custom: {
    50: '#cbc86a',
    500: '#afb11d',
    950: '#000000',
  },
}
SCSS
$custom: #afb11d;
$custom-light: #cbc86a;
$custom-dark: #000000;
JSON
{
  "hex": "#afb11d",
  "rgb": {
    "r": 175,
    "g": 177,
    "b": 29
  },
  "hsl": {
    "h": 60.811,
    "s": 71.845,
    "l": 40.392
  },
  "oklch": {
    "l": 0.73503,
    "c": 0.15416,
    "h": 110.5
  },
  "luminance": 0.40647
}

Semantic roles & 50–950 ramp

primary
#AFB11D
secondary
#6160CA
accent
#39EF3C
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A

Preview Lab

Preview with #AFB11D

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

Preview Lab → · Contrast checker → · Palette generator →

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