#AFBC37#AFBC37

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

Color values

HEX#AFBC37
RGBrgb(175, 188, 55)
HSLhsl(66, 55%, 48%)
HSVhsv(66, 71%, 74%)
CMYKcmyk(6.9%, 0%, 70.7%, 26.3%)
CIE-LABlab(73.13, -21.22, 62.09)
CIE-LCHlch(73.13, 65.61, 108.87°)
OKLaboklab(76.11% -0.0643 0.1382)
OKLCHoklch(76.11% 0.152 114.9)
XYZxyz(36.3530, 45.3569, 10.4534)
Luminance0.4536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC37 #4437BC
analogous
#BC8737 #AFBC37 #6CBC37
triadic
#AFBC37 #37AFBC #BC37AF
tetradic
#AFBC37 #37BC87 #4437BC #BC376C
square
#AFBC37 #37BC87 #4437BC #BC376C
split-complementary
#AFBC37 #376CBC #8737BC
monochromatic
#575D1B #838D29 #AFBC37 #C5D060 #D7DE8F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBC37#FFFFFF#000000##000000
##AFBC371.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)
#C9B320
Deuteranopia (green-blind)
#C9B541
Tritanopia (blue-blind)
#BAB1A2
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #afbc37;
/* rgb */ color: rgb(175, 188, 55);
/* oklch */ color: oklch(76.1% 0.152 114.9);
Tailwind
colors: {
  custom: {
    50: '#cad077',
    500: '#afbc37',
    950: '#000000',
  },
}
SCSS
$custom: #afbc37;
$custom-light: #cad077;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc37",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 55
  },
  "hsl": {
    "h": 65.865,
    "s": 54.733,
    "l": 47.647
  },
  "oklch": {
    "l": 0.76105,
    "c": 0.15244,
    "h": 114.9
  },
  "luminance": 0.45356
}

Semantic roles & 50–950 ramp

primary
#AFBC37
secondary
#8C86C9
accent
#4ADE58
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141309
muted
#82827B

Preview Lab

Preview with #AFBC37

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

Preview Lab → · Contrast checker → · Palette generator →

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