#AFC536#AFC536

#AFC536 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#AFC536
RGBrgb(175, 197, 54)
HSLhsl(69, 57%, 49%)
HSVhsv(69, 73%, 77%)
CMYKcmyk(11.2%, 0%, 72.6%, 22.7%)
CIE-LABlab(75.65, -25.68, 64.89)
CIE-LCHlch(75.65, 69.79, 111.59°)
OKLaboklab(78.13% -0.0767 0.144)
OKLCHoklch(78.13% 0.163 118.1)
XYZxyz(38.3122, 49.3132, 10.9894)
Luminance0.4931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC536 #4C36C5
analogous
#C59436 #AFC536 #68C536
triadic
#AFC536 #36AFC5 #C536AF
tetradic
#AFC536 #36C594 #4C36C5 #C53668
square
#AFC536 #36C594 #4C36C5 #C53668
split-complementary
#AFC536 #3668C5 #9436C5
monochromatic
#5A651C #849529 #AFC536 #C3D464 #D6E294

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFC536#FFFFFF#000000##000000
##AFC5361.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)
#D2BA1A
Deuteranopia (green-blind)
#D0BB42
Tritanopia (blue-blind)
#BABAA9
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #afc536;
/* rgb */ color: rgb(175, 197, 54);
/* oklch */ color: oklch(78.1% 0.163 118.1);
Tailwind
colors: {
  custom: {
    50: '#cad677',
    500: '#afc536',
    950: '#000000',
  },
}
SCSS
$custom: #afc536;
$custom-light: #cad677;
$custom-dark: #000000;
JSON
{
  "hex": "#afc536",
  "rgb": {
    "r": 175,
    "g": 197,
    "b": 54
  },
  "hsl": {
    "h": 69.231,
    "s": 56.972,
    "l": 49.216
  },
  "oklch": {
    "l": 0.78126,
    "c": 0.16313,
    "h": 118.1
  },
  "luminance": 0.49313
}

Semantic roles & 50–950 ramp

primary
#AFC536
secondary
#948ACD
accent
#48E05F
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#141409
muted
#82837B

Preview Lab

Preview with #AFC536

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

Preview Lab → · Contrast checker → · Palette generator →

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