#AFC629#AFC629

#AFC629 is a light, vivid yellow. Relative luminance 0.497; OKLCH L 78.3% C 0.171 H 118.1°. Best body text is #000000 at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#AFC629
RGBrgb(175, 198, 41)
HSLhsl(69, 66%, 47%)
HSVhsv(69, 79%, 78%)
CMYKcmyk(11.6%, 0%, 79.3%, 22.4%)
CIE-LABlab(75.86, -26.73, 69.16)
CIE-LCHlch(75.86, 74.15, 111.13°)
OKLaboklab(78.28% -0.0807 0.1508)
OKLCHoklch(78.28% 0.171 118.1)
XYZxyz(38.2744, 49.6626, 9.6669)
Luminance0.4966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC629 #4029C6
analogous
#C68F29 #AFC629 #61C629
triadic
#AFC629 #29AFC6 #C629AF
tetradic
#AFC629 #29C68F #4029C6 #C62961
square
#AFC629 #29C68F #4029C6 #C62961
split-complementary
#AFC629 #2961C6 #8F29C6
monochromatic
#556114 #82931F #AFC629 #C7DB51 #D7E684

Accessibility & contrast

On white

1.92
#AFC629 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.93
#AFC629 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC629
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC629#FFFFFF#000000##000000
##AFC6291.001.9210.9310.93
#FFFFFF1.921.0021.0021.00
#00000010.9321.001.001.00
##00000010.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BB00
Deuteranopia (green-blind)
#D1BC39
Tritanopia (blue-blind)
#BABBA9
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #afc629;
/* rgb */ color: rgb(175, 198, 41);
/* oklch */ color: oklch(78.3% 0.171 118.1);
Tailwind
colors: {
  custom: {
    50: '#cbd771',
    500: '#afc629',
    950: '#000000',
  },
}
SCSS
$custom: #afc629;
$custom-light: #cbd771;
$custom-dark: #000000;
JSON
{
  "hex": "#afc629",
  "rgb": {
    "r": 175,
    "g": 198,
    "b": 41
  },
  "hsl": {
    "h": 68.79,
    "s": 65.69,
    "l": 46.863
  },
  "oklch": {
    "l": 0.78279,
    "c": 0.17102,
    "h": 118.1
  },
  "luminance": 0.49662
}

Semantic roles & 50–950 ramp

primary
#AFC629
secondary
#887CCF
accent
#3FE958
background
#FCFDF7
surface
#F9FAED
border
#D2D3C8
text
#141409
muted
#82837B

Preview Lab

Preview with #AFC629

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

Preview Lab → · Contrast checker → · Palette generator →

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