#AFC53C#AFC53C

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

Color values

HEX#AFC53C
RGBrgb(175, 197, 60)
HSLhsl(70, 54%, 50%)
HSVhsv(70, 70%, 77%)
CMYKcmyk(11.2%, 0%, 69.5%, 22.7%)
CIE-LABlab(75.68, -25.36, 62.78)
CIE-LCHlch(75.68, 67.71, 111.99°)
OKLaboklab(78.17% -0.0753 0.1405)
OKLCHoklch(78.17% 0.159 118.2)
XYZxyz(38.4619, 49.3731, 11.7779)
Luminance0.4937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC53C #523CC5
analogous
#C5963C #AFC53C #6AC53C
triadic
#AFC53C #3CAFC5 #C53CAF
tetradic
#AFC53C #3CC596 #523CC5 #C53C6A
square
#AFC53C #3CC596 #523CC5 #C53C6A
split-complementary
#AFC53C #3C6AC5 #963CC5
monochromatic
#5C681F #86972D #AFC53C #C2D36B #D6E19A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFC53C#FFFFFF#000000##000000
##AFC53C1.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)
#D2BA26
Deuteranopia (green-blind)
#D0BB47
Tritanopia (blue-blind)
#B9BAAA
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #afc53c;
/* rgb */ color: rgb(175, 197, 60);
/* oklch */ color: oklch(78.2% 0.159 118.2);
Tailwind
colors: {
  custom: {
    50: '#cad67a',
    500: '#afc53c',
    950: '#000000',
  },
}
SCSS
$custom: #afc53c;
$custom-light: #cad67a;
$custom-dark: #000000;
JSON
{
  "hex": "#afc53c",
  "rgb": {
    "r": 175,
    "g": 197,
    "b": 60
  },
  "hsl": {
    "h": 69.635,
    "s": 54.15,
    "l": 50.392
  },
  "oklch": {
    "l": 0.78168,
    "c": 0.15941,
    "h": 118.2
  },
  "luminance": 0.49373
}

Semantic roles & 50–950 ramp

primary
#AFC53C
secondary
#9A90CD
accent
#4ADE62
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#14140A
muted
#82837C

Preview Lab

Preview with #AFC53C

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

Preview Lab → · Contrast checker → · Palette generator →

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