#AFC435#AFC435

#AFC435 is a light, vivid yellow. Relative luminance 0.489; OKLCH L 77.9% C 0.163 H 117.7°. Best body text is #000000 at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#AFC435
RGBrgb(175, 196, 53)
HSLhsl(69, 57%, 49%)
HSVhsv(69, 73%, 77%)
CMYKcmyk(10.7%, 0%, 73%, 23.1%)
CIE-LABlab(75.36, -25.24, 64.96)
CIE-LCHlch(75.36, 69.69, 111.24°)
OKLaboklab(77.89% -0.0756 0.1439)
OKLCHoklch(77.89% 0.163 117.7)
XYZxyz(38.0626, 48.8513, 10.7916)
Luminance0.4885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC435 #4A35C4
analogous
#C49235 #AFC435 #68C435
triadic
#AFC435 #35AFC4 #C435AF
tetradic
#AFC435 #35C492 #4A35C4 #C43568
square
#AFC435 #35C492 #4A35C4 #C43568
split-complementary
#AFC435 #3568C4 #9235C4
monochromatic
#59641B #849428 #AFC435 #C4D462 #D6E192

Accessibility & contrast

On white

1.95
#AFC435 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.77
#AFC435 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC435
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC435#FFFFFF#000000##000000
##AFC4351.001.9510.7710.77
#FFFFFF1.951.0021.0021.00
#00000010.7721.001.001.00
##00000010.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B918
Deuteranopia (green-blind)
#CFBA41
Tritanopia (blue-blind)
#BAB9A9
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #afc435;
/* rgb */ color: rgb(175, 196, 53);
/* oklch */ color: oklch(77.9% 0.163 117.7);
Tailwind
colors: {
  custom: {
    50: '#cad576',
    500: '#afc435',
    950: '#000000',
  },
}
SCSS
$custom: #afc435;
$custom-light: #cad576;
$custom-dark: #000000;
JSON
{
  "hex": "#afc435",
  "rgb": {
    "r": 175,
    "g": 196,
    "b": 53
  },
  "hsl": {
    "h": 68.811,
    "s": 57.43,
    "l": 48.824
  },
  "oklch": {
    "l": 0.77894,
    "c": 0.16259,
    "h": 117.7
  },
  "luminance": 0.48851
}

Semantic roles & 50–950 ramp

primary
#AFC435
secondary
#9288CC
accent
#47E15E
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#141409
muted
#82837B

Preview Lab

Preview with #AFC435

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

Preview Lab → · Contrast checker → · Palette generator →

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