#AFC537#AFC537

#AFC537 is a light, vivid yellow. Relative luminance 0.493; OKLCH L 78.1% C 0.163 H 118.1°. Best body text is #000000 at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#AFC537
RGBrgb(175, 197, 55)
HSLhsl(69, 56%, 49%)
HSVhsv(69, 72%, 77%)
CMYKcmyk(11.2%, 0%, 72.1%, 22.7%)
CIE-LABlab(75.65, -25.63, 64.55)
CIE-LCHlch(75.65, 69.45, 111.65°)
OKLaboklab(78.13% -0.0765 0.1434)
OKLCHoklch(78.13% 0.163 118.1)
XYZxyz(38.3359, 49.3227, 11.1144)
Luminance0.4932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC537 #4D37C5
analogous
#C59437 #AFC537 #68C537
triadic
#AFC537 #37AFC5 #C537AF
tetradic
#AFC537 #37C594 #4D37C5 #C53768
square
#AFC537 #37C594 #4D37C5 #C53768
split-complementary
#AFC537 #3768C5 #9437C5
monochromatic
#5A651C #85952A #AFC537 #C3D465 #D6E195

Accessibility & contrast

On white

1.93
#AFC537 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.86
#AFC537 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC537
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC537#FFFFFF#000000##000000
##AFC5371.001.9310.8610.86
#FFFFFF1.931.0021.0021.00
#00000010.8621.001.001.00
##00000010.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA1C
Deuteranopia (green-blind)
#D0BB43
Tritanopia (blue-blind)
#BABAAA
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #afc537;
/* rgb */ color: rgb(175, 197, 55);
/* oklch */ color: oklch(78.1% 0.163 118.1);
Tailwind
colors: {
  custom: {
    50: '#cad678',
    500: '#afc537',
    950: '#000000',
  },
}
SCSS
$custom: #afc537;
$custom-light: #cad678;
$custom-dark: #000000;
JSON
{
  "hex": "#afc537",
  "rgb": {
    "r": 175,
    "g": 197,
    "b": 55
  },
  "hsl": {
    "h": 69.296,
    "s": 56.349,
    "l": 49.412
  },
  "oklch": {
    "l": 0.78133,
    "c": 0.16254,
    "h": 118.1
  },
  "luminance": 0.49322
}

Semantic roles & 50–950 ramp

primary
#AFC537
secondary
#958BCD
accent
#48E060
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#141409
muted
#82837B

Preview Lab

Preview with #AFC537

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

Preview Lab → · Contrast checker → · Palette generator →

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