#AFC434#AFC434

#AFC434 is a light, vivid yellow. Relative luminance 0.488; 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#AFC434
RGBrgb(175, 196, 52)
HSLhsl(69, 58%, 49%)
HSVhsv(69, 73%, 77%)
CMYKcmyk(10.7%, 0%, 73.5%, 23.1%)
CIE-LABlab(75.35, -25.29, 65.29)
CIE-LCHlch(75.35, 70.02, 111.17°)
OKLaboklab(77.89% -0.0758 0.1445)
OKLCHoklch(77.89% 0.163 117.7)
XYZxyz(38.0398, 48.8421, 10.6717)
Luminance0.4884 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC434 #4934C4
analogous
#C49134 #AFC434 #67C434
triadic
#AFC434 #34AFC4 #C434AF
tetradic
#AFC434 #34C491 #4934C4 #C43467
square
#AFC434 #34C491 #4934C4 #C43467
split-complementary
#AFC434 #3467C4 #9134C4
monochromatic
#59631A #849427 #AFC434 #C4D560 #D6E291

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFC434#FFFFFF#000000##000000
##AFC4341.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)
#D1B916
Deuteranopia (green-blind)
#CFBA40
Tritanopia (blue-blind)
#BAB9A8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #afc434;
/* rgb */ color: rgb(175, 196, 52);
/* oklch */ color: oklch(77.9% 0.163 117.7);
Tailwind
colors: {
  custom: {
    50: '#cad576',
    500: '#afc434',
    950: '#000000',
  },
}
SCSS
$custom: #afc434;
$custom-light: #cad576;
$custom-dark: #000000;
JSON
{
  "hex": "#afc434",
  "rgb": {
    "r": 175,
    "g": 196,
    "b": 52
  },
  "hsl": {
    "h": 68.75,
    "s": 58.065,
    "l": 48.627
  },
  "oklch": {
    "l": 0.77887,
    "c": 0.16318,
    "h": 117.7
  },
  "luminance": 0.48842
}

Semantic roles & 50–950 ramp

primary
#AFC434
secondary
#9187CC
accent
#47E15D
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#141409
muted
#82837B

Preview Lab

Preview with #AFC434

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

Preview Lab → · Contrast checker → · Palette generator →

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