#AFC430#AFC430

#AFC430 is a light, vivid yellow. Relative luminance 0.488; OKLCH L 77.9% C 0.165 H 117.6°. Best body text is #000000 at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#AFC430
RGBrgb(175, 196, 48)
HSLhsl(69, 61%, 48%)
HSVhsv(69, 76%, 77%)
CMYKcmyk(10.7%, 0%, 75.5%, 23.1%)
CIE-LABlab(75.33, -25.48, 66.58)
CIE-LCHlch(75.33, 71.29, 110.94°)
OKLaboklab(77.86% -0.0767 0.1465)
OKLCHoklch(77.86% 0.165 117.6)
XYZxyz(37.9535, 48.8076, 10.2172)
Luminance0.4881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC430 #4530C4
analogous
#C48F30 #AFC430 #65C430
triadic
#AFC430 #30AFC4 #C430AF
tetradic
#AFC430 #30C48F #4530C4 #C43065
square
#AFC430 #30C48F #4530C4 #C43065
split-complementary
#AFC430 #3065C4 #8F30C4
monochromatic
#576218 #839324 #AFC430 #C5D75A #D6E38C

Accessibility & contrast

On white

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

On black

10.76
#AFC430 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC430
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC430#FFFFFF#000000##000000
##AFC4301.001.9510.7610.76
#FFFFFF1.951.0021.0021.00
#00000010.7621.001.001.00
##00000010.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B909
Deuteranopia (green-blind)
#CFBA3D
Tritanopia (blue-blind)
#BAB9A8
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #afc430;
/* rgb */ color: rgb(175, 196, 48);
/* oklch */ color: oklch(77.9% 0.165 117.6);
Tailwind
colors: {
  custom: {
    50: '#cbd574',
    500: '#afc430',
    950: '#000000',
  },
}
SCSS
$custom: #afc430;
$custom-light: #cbd574;
$custom-dark: #000000;
JSON
{
  "hex": "#afc430",
  "rgb": {
    "r": 175,
    "g": 196,
    "b": 48
  },
  "hsl": {
    "h": 68.514,
    "s": 60.656,
    "l": 47.843
  },
  "oklch": {
    "l": 0.77863,
    "c": 0.16537,
    "h": 117.6
  },
  "luminance": 0.48807
}

Semantic roles & 50–950 ramp

primary
#AFC430
secondary
#8D83CD
accent
#44E45B
background
#FCFDF7
surface
#F9FAED
border
#D2D3C8
text
#141409
muted
#82837B

Preview Lab

Preview with #AFC430

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

Preview Lab → · Contrast checker → · Palette generator →

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