#AFBC36#AFBC36

#AFBC36 is a light, vivid yellow. Relative luminance 0.453; OKLCH L 76.1% C 0.153 H 114.9°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#AFBC36
RGBrgb(175, 188, 54)
HSLhsl(66, 55%, 47%)
HSVhsv(66, 71%, 74%)
CMYKcmyk(6.9%, 0%, 71.3%, 26.3%)
CIE-LABlab(73.12, -21.27, 62.44)
CIE-LCHlch(73.12, 65.97, 108.81°)
OKLaboklab(76.1% -0.0645 0.1388)
OKLCHoklch(76.1% 0.153 114.9)
XYZxyz(36.3293, 45.3474, 10.3284)
Luminance0.4535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC36 #4336BC
analogous
#BC8636 #AFBC36 #6CBC36
triadic
#AFBC36 #36AFBC #BC36AF
tetradic
#AFBC36 #36BC86 #4336BC #BC366C
square
#AFBC36 #36BC86 #4336BC #BC366C
split-complementary
#AFBC36 #366CBC #8636BC
monochromatic
#565D1B #838C28 #AFBC36 #C6D15E #D7DF8E

Accessibility & contrast

On white

2.09
#AFBC36 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.07
#AFBC36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBC36
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBC36#FFFFFF#000000##000000
##AFBC361.002.0910.0710.07
#FFFFFF2.091.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B31E
Deuteranopia (green-blind)
#C9B541
Tritanopia (blue-blind)
#BAB1A2
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #afbc36;
/* rgb */ color: rgb(175, 188, 54);
/* oklch */ color: oklch(76.1% 0.153 114.9);
Tailwind
colors: {
  custom: {
    50: '#cad076',
    500: '#afbc36',
    950: '#000000',
  },
}
SCSS
$custom: #afbc36;
$custom-light: #cad076;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc36",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 54
  },
  "hsl": {
    "h": 65.821,
    "s": 55.372,
    "l": 47.451
  },
  "oklch": {
    "l": 0.76098,
    "c": 0.15306,
    "h": 114.9
  },
  "luminance": 0.45347
}

Semantic roles & 50–950 ramp

primary
#AFBC36
secondary
#8B85C9
accent
#49DF58
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141309
muted
#82827B

Preview Lab

Preview with #AFBC36

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

Preview Lab → · Contrast checker → · Palette generator →

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