#AFC53A#AFC53A

#AFC53A is a light, vivid yellow. Relative luminance 0.494; OKLCH L 78.2% C 0.161 H 118.1°. Best body text is #000000 at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#AFC53A
RGBrgb(175, 197, 58)
HSLhsl(69, 55%, 50%)
HSVhsv(69, 71%, 77%)
CMYKcmyk(11.2%, 0%, 70.6%, 22.7%)
CIE-LABlab(75.67, -25.47, 63.50)
CIE-LCHlch(75.67, 68.42, 111.85°)
OKLaboklab(78.15% -0.0758 0.1417)
OKLCHoklch(78.15% 0.161 118.1)
XYZxyz(38.4100, 49.3523, 11.5047)
Luminance0.4935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC53A #503AC5
analogous
#C5953A #AFC53A #6AC53A
triadic
#AFC53A #3AAFC5 #C53AAF
tetradic
#AFC53A #3AC595 #503AC5 #C53A6A
square
#AFC53A #3AC595 #503AC5 #C53A6A
split-complementary
#AFC53A #3A6AC5 #953AC5
monochromatic
#5B661E #85962C #AFC53A #C2D369 #D5E199

Accessibility & contrast

On white

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

On black

10.87
#AFC53A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC53A
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC53A#FFFFFF#000000##000000
##AFC53A1.001.9310.8710.87
#FFFFFF1.931.0021.0021.00
#00000010.8721.001.001.00
##00000010.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA22
Deuteranopia (green-blind)
#D0BB45
Tritanopia (blue-blind)
#B9BAAA
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #afc53a;
/* rgb */ color: rgb(175, 197, 58);
/* oklch */ color: oklch(78.2% 0.161 118.1);
Tailwind
colors: {
  custom: {
    50: '#cad679',
    500: '#afc53a',
    950: '#000000',
  },
}
SCSS
$custom: #afc53a;
$custom-light: #cad679;
$custom-dark: #000000;
JSON
{
  "hex": "#afc53a",
  "rgb": {
    "r": 175,
    "g": 197,
    "b": 58
  },
  "hsl": {
    "h": 69.496,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.78154,
    "c": 0.16069,
    "h": 118.1
  },
  "luminance": 0.49352
}

Semantic roles & 50–950 ramp

primary
#AFC53A
secondary
#988ECD
accent
#4ADE61
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#14140A
muted
#82837C

Preview Lab

Preview with #AFC53A

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

Preview Lab → · Contrast checker → · Palette generator →

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