#AFBB37#AFBB37

#AFBB37 is a light, vivid yellow. Relative luminance 0.449; OKLCH L 75.9% C 0.151 H 114.6°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#AFBB37
RGBrgb(175, 187, 55)
HSLhsl(65, 55%, 47%)
HSVhsv(65, 71%, 73%)
CMYKcmyk(6.4%, 0%, 70.6%, 26.7%)
CIE-LABlab(72.85, -20.73, 61.81)
CIE-LCHlch(72.85, 65.19, 108.54°)
OKLaboklab(75.88% -0.0629 0.1377)
OKLCHoklch(75.88% 0.151 114.6)
XYZxyz(36.1401, 44.9311, 10.3824)
Luminance0.4493 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB37 #4337BB
analogous
#BB8537 #AFBB37 #6DBB37
triadic
#AFBB37 #37AFBB #BB37AF
tetradic
#AFBB37 #37BB85 #4337BB #BB376D
square
#AFBB37 #37BB85 #4337BB #BB376D
split-complementary
#AFBB37 #376DBB #8537BB
monochromatic
#565C1B #838C29 #AFBB37 #C6D05F #D7DE8E

Accessibility & contrast

On white

2.10
#AFBB37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.99
#AFBB37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBB37
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBB37#FFFFFF#000000##000000
##AFBB371.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B220
Deuteranopia (green-blind)
#C8B441
Tritanopia (blue-blind)
#BAB0A1
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #afbb37;
/* rgb */ color: rgb(175, 187, 55);
/* oklch */ color: oklch(75.9% 0.151 114.6);
Tailwind
colors: {
  custom: {
    50: '#cacf76',
    500: '#afbb37',
    950: '#000000',
  },
}
SCSS
$custom: #afbb37;
$custom-light: #cacf76;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb37",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 55
  },
  "hsl": {
    "h": 65.455,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.7588,
    "c": 0.15134,
    "h": 114.6
  },
  "luminance": 0.4493
}

Semantic roles & 50–950 ramp

primary
#AFBB37
secondary
#8B85C9
accent
#4ADE57
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141309
muted
#82827B

Preview Lab

Preview with #AFBB37

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

Preview Lab → · Contrast checker → · Palette generator →

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