#AFC53B#AFC53B

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

Color values

HEX#AFC53B
RGBrgb(175, 197, 59)
HSLhsl(70, 54%, 50%)
HSVhsv(70, 70%, 77%)
CMYKcmyk(11.2%, 0%, 70.1%, 22.7%)
CIE-LABlab(75.68, -25.41, 63.14)
CIE-LCHlch(75.68, 68.06, 111.92°)
OKLaboklab(78.16% -0.0756 0.1411)
OKLCHoklch(78.16% 0.16 118.2)
XYZxyz(38.4357, 49.3626, 11.6400)
Luminance0.4936 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC53B #513BC5
analogous
#C5963B #AFC53B #6AC53B
triadic
#AFC53B #3BAFC5 #C53BAF
tetradic
#AFC53B #3BC596 #513BC5 #C53B6A
square
#AFC53B #3BC596 #513BC5 #C53B6A
split-complementary
#AFC53B #3B6AC5 #963BC5
monochromatic
#5C671F #85962C #AFC53B #C2D36A #D6E199

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFC53B#FFFFFF#000000##000000
##AFC53B1.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)
#D2BA24
Deuteranopia (green-blind)
#D0BB46
Tritanopia (blue-blind)
#B9BAAA
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #afc53b;
/* rgb */ color: rgb(175, 197, 59);
/* oklch */ color: oklch(78.2% 0.160 118.2);
Tailwind
colors: {
  custom: {
    50: '#cad67a',
    500: '#afc53b',
    950: '#000000',
  },
}
SCSS
$custom: #afc53b;
$custom-light: #cad67a;
$custom-dark: #000000;
JSON
{
  "hex": "#afc53b",
  "rgb": {
    "r": 175,
    "g": 197,
    "b": 59
  },
  "hsl": {
    "h": 69.565,
    "s": 54.331,
    "l": 50.196
  },
  "oklch": {
    "l": 0.78161,
    "c": 0.16005,
    "h": 118.2
  },
  "luminance": 0.49362
}

Semantic roles & 50–950 ramp

primary
#AFC53B
secondary
#998FCD
accent
#4ADE62
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#14140A
muted
#82837C

Preview Lab

Preview with #AFC53B

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

Preview Lab → · Contrast checker → · Palette generator →

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