#AFBB36#AFBB36

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

Color values

HEX#AFBB36
RGBrgb(175, 187, 54)
HSLhsl(65, 55%, 47%)
HSVhsv(65, 71%, 73%)
CMYKcmyk(6.4%, 0%, 71.1%, 26.7%)
CIE-LABlab(72.84, -20.78, 62.17)
CIE-LCHlch(72.84, 65.55, 108.48°)
OKLaboklab(75.87% -0.0631 0.1382)
OKLCHoklch(75.87% 0.152 114.6)
XYZxyz(36.1164, 44.9216, 10.2575)
Luminance0.4492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB36 #4236BB
analogous
#BB8536 #AFBB36 #6CBB36
triadic
#AFBB36 #36AFBB #BB36AF
tetradic
#AFBB36 #36BB85 #4236BB #BB366C
square
#AFBB36 #36BB85 #4236BB #BB366C
split-complementary
#AFBB36 #366CBB #8536BB
monochromatic
#565C1B #838C28 #AFBB36 #C6D05E #D7DE8D

Accessibility & contrast

On white

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

On black

9.98
#AFBB36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBB36
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBB36#FFFFFF#000000##000000
##AFBB361.002.109.989.98
#FFFFFF2.101.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afbb36;
/* rgb */ color: rgb(175, 187, 54);
/* oklch */ color: oklch(75.9% 0.152 114.6);
Tailwind
colors: {
  custom: {
    50: '#cacf76',
    500: '#afbb36',
    950: '#000000',
  },
}
SCSS
$custom: #afbb36;
$custom-light: #cacf76;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb36",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 54
  },
  "hsl": {
    "h": 65.414,
    "s": 55.187,
    "l": 47.255
  },
  "oklch": {
    "l": 0.75873,
    "c": 0.15197,
    "h": 114.6
  },
  "luminance": 0.44921
}

Semantic roles & 50–950 ramp

primary
#AFBB36
secondary
#8A84C9
accent
#49DF57
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141309
muted
#82827B

Preview Lab

Preview with #AFBB36

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

Preview Lab → · Contrast checker → · Palette generator →

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