#AFC539#AFC539

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

Color values

HEX#AFC539
RGBrgb(175, 197, 57)
HSLhsl(69, 55%, 50%)
HSVhsv(69, 71%, 77%)
CMYKcmyk(11.2%, 0%, 71.1%, 22.7%)
CIE-LABlab(75.66, -25.52, 63.85)
CIE-LCHlch(75.66, 68.77, 111.79°)
OKLaboklab(78.15% -0.076 0.1423)
OKLCHoklch(78.15% 0.161 118.1)
XYZxyz(38.3848, 49.3422, 11.3720)
Luminance0.4934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC539 #4F39C5
analogous
#C59539 #AFC539 #69C539
triadic
#AFC539 #39AFC5 #C539AF
tetradic
#AFC539 #39C595 #4F39C5 #C53969
square
#AFC539 #39C595 #4F39C5 #C53969
split-complementary
#AFC539 #3969C5 #9539C5
monochromatic
#5B661E #85962B #AFC539 #C2D368 #D5E197

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFC539#FFFFFF#000000##000000
##AFC5391.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)
#D2BA20
Deuteranopia (green-blind)
#D0BB44
Tritanopia (blue-blind)
#B9BAAA
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #afc539;
/* rgb */ color: rgb(175, 197, 57);
/* oklch */ color: oklch(78.1% 0.161 118.1);
Tailwind
colors: {
  custom: {
    50: '#cad679',
    500: '#afc539',
    950: '#000000',
  },
}
SCSS
$custom: #afc539;
$custom-light: #cad679;
$custom-dark: #000000;
JSON
{
  "hex": "#afc539",
  "rgb": {
    "r": 175,
    "g": 197,
    "b": 57
  },
  "hsl": {
    "h": 69.429,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.78147,
    "c": 0.16131,
    "h": 118.1
  },
  "luminance": 0.49342
}

Semantic roles & 50–950 ramp

primary
#AFC539
secondary
#978DCD
accent
#49DE61
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#14140A
muted
#82837C

Preview Lab

Preview with #AFC539

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

Preview Lab → · Contrast checker → · Palette generator →

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