#AFC535#AFC535

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

Color values

HEX#AFC535
RGBrgb(175, 197, 53)
HSLhsl(69, 58%, 49%)
HSVhsv(69, 73%, 77%)
CMYKcmyk(11.2%, 0%, 73.1%, 22.7%)
CIE-LABlab(75.64, -25.73, 65.23)
CIE-LCHlch(75.64, 70.12, 111.52°)
OKLaboklab(78.12% -0.0769 0.1445)
OKLCHoklch(78.12% 0.164 118)
XYZxyz(38.2889, 49.3039, 10.8670)
Luminance0.4930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC535 #4B35C5
analogous
#C59335 #AFC535 #67C535
triadic
#AFC535 #35AFC5 #C535AF
tetradic
#AFC535 #35C593 #4B35C5 #C53567
square
#AFC535 #35C593 #4B35C5 #C53567
split-complementary
#AFC535 #3567C5 #9335C5
monochromatic
#59651B #849528 #AFC535 #C3D562 #D6E293

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFC535#FFFFFF#000000##000000
##AFC5351.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)
#D2BA18
Deuteranopia (green-blind)
#D0BB41
Tritanopia (blue-blind)
#BABAA9
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #afc535;
/* rgb */ color: rgb(175, 197, 53);
/* oklch */ color: oklch(78.1% 0.164 118.0);
Tailwind
colors: {
  custom: {
    50: '#cad677',
    500: '#afc535',
    950: '#000000',
  },
}
SCSS
$custom: #afc535;
$custom-light: #cad677;
$custom-dark: #000000;
JSON
{
  "hex": "#afc535",
  "rgb": {
    "r": 175,
    "g": 197,
    "b": 53
  },
  "hsl": {
    "h": 69.167,
    "s": 57.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.7812,
    "c": 0.16372,
    "h": 118
  },
  "luminance": 0.49304
}

Semantic roles & 50–950 ramp

primary
#AFC535
secondary
#9389CD
accent
#47E15E
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#141409
muted
#82837B

Preview Lab

Preview with #AFC535

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

Preview Lab → · Contrast checker → · Palette generator →

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