#AFC534#AFC534

#AFC534 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#AFC534
RGBrgb(175, 197, 52)
HSLhsl(69, 58%, 49%)
HSVhsv(69, 74%, 77%)
CMYKcmyk(11.2%, 0%, 73.6%, 22.7%)
CIE-LABlab(75.63, -25.78, 65.56)
CIE-LCHlch(75.63, 70.45, 111.46°)
OKLaboklab(78.11% -0.0772 0.145)
OKLCHoklch(78.11% 0.164 118)
XYZxyz(38.2662, 49.2948, 10.7471)
Luminance0.4929 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC534 #4A34C5
analogous
#C59334 #AFC534 #67C534
triadic
#AFC534 #34AFC5 #C534AF
tetradic
#AFC534 #34C593 #4A34C5 #C53467
square
#AFC534 #34C593 #4A34C5 #C53467
split-complementary
#AFC534 #3467C5 #9334C5
monochromatic
#59641A #849527 #AFC534 #C4D561 #D6E291

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #afc534;
/* rgb */ color: rgb(175, 197, 52);
/* oklch */ color: oklch(78.1% 0.164 118.0);
Tailwind
colors: {
  custom: {
    50: '#cad676',
    500: '#afc534',
    950: '#000000',
  },
}
SCSS
$custom: #afc534;
$custom-light: #cad676;
$custom-dark: #000000;
JSON
{
  "hex": "#afc534",
  "rgb": {
    "r": 175,
    "g": 197,
    "b": 52
  },
  "hsl": {
    "h": 69.103,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.78114,
    "c": 0.16429,
    "h": 118
  },
  "luminance": 0.49294
}

Semantic roles & 50–950 ramp

primary
#AFC534
secondary
#9288CD
accent
#46E15E
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#141409
muted
#82837B

Preview Lab

Preview with #AFC534

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

Preview Lab → · Contrast checker → · Palette generator →

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