#AFC029#AFC029

#AFC029 is a light, vivid yellow. Relative luminance 0.470; OKLCH L 76.9% C 0.165 H 116.2°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#AFC029
RGBrgb(175, 192, 41)
HSLhsl(67, 65%, 46%)
HSVhsv(67, 79%, 75%)
CMYKcmyk(8.9%, 0%, 78.6%, 24.7%)
CIE-LABlab(74.17, -23.82, 67.65)
CIE-LCHlch(74.17, 71.72, 109.40°)
OKLaboklab(76.92% -0.0727 0.1476)
OKLCHoklch(76.92% 0.165 116.2)
XYZxyz(36.9301, 46.9739, 9.2188)
Luminance0.4697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC029 #3A29C0
analogous
#C08529 #AFC029 #63C029
triadic
#AFC029 #29AFC0 #C029AF
tetradic
#AFC029 #29C085 #3A29C0 #C02963
square
#AFC029 #29C085 #3A29C0 #C02963
split-complementary
#AFC029 #2963C0 #8529C0
monochromatic
#535B13 #818E1E #AFC029 #C9D94D #D9E480

Accessibility & contrast

On white

2.02
#AFC029 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.39
#AFC029 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC029
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC029#FFFFFF#000000##000000
##AFC0291.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB600
Deuteranopia (green-blind)
#CCB738
Tritanopia (blue-blind)
#BAB5A4
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #afc029;
/* rgb */ color: rgb(175, 192, 41);
/* oklch */ color: oklch(76.9% 0.165 116.2);
Tailwind
colors: {
  custom: {
    50: '#cbd270',
    500: '#afc029',
    950: '#000000',
  },
}
SCSS
$custom: #afc029;
$custom-light: #cbd270;
$custom-dark: #000000;
JSON
{
  "hex": "#afc029",
  "rgb": {
    "r": 175,
    "g": 192,
    "b": 41
  },
  "hsl": {
    "h": 66.755,
    "s": 64.807,
    "l": 45.686
  },
  "oklch": {
    "l": 0.76921,
    "c": 0.1645,
    "h": 116.2
  },
  "luminance": 0.46973
}

Semantic roles & 50–950 ramp

primary
#AFC029
secondary
#8278CC
accent
#40E853
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141408
muted
#82827B

Preview Lab

Preview with #AFC029

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

Preview Lab → · Contrast checker → · Palette generator →

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