#AFC636#AFC636

#AFC636 is a light, vivid yellow. Relative luminance 0.498; OKLCH L 78.4% C 0.164 H 118.4°. Best body text is #000000 at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#AFC636
RGBrgb(175, 198, 54)
HSLhsl(70, 57%, 49%)
HSVhsv(70, 73%, 78%)
CMYKcmyk(11.6%, 0%, 72.7%, 22.4%)
CIE-LABlab(75.93, -26.16, 65.16)
CIE-LCHlch(75.93, 70.22, 111.87°)
OKLaboklab(78.35% -0.0781 0.1445)
OKLCHoklch(78.35% 0.164 118.4)
XYZxyz(38.5400, 49.7688, 11.0654)
Luminance0.4977 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC636 #4D36C6
analogous
#C69536 #AFC636 #67C636
triadic
#AFC636 #36AFC6 #C636AF
tetradic
#AFC636 #36C695 #4D36C6 #C63667
square
#AFC636 #36C695 #4D36C6 #C63667
split-complementary
#AFC636 #3667C6 #9536C6
monochromatic
#5A661C #859629 #AFC636 #C3D564 #D6E294

Accessibility & contrast

On white

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

On black

10.95
#AFC636 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC636
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC636#FFFFFF#000000##000000
##AFC6361.001.9210.9510.95
#FFFFFF1.921.0021.0021.00
#00000010.9521.001.001.00
##00000010.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB19
Deuteranopia (green-blind)
#D1BC42
Tritanopia (blue-blind)
#BABBAA
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #afc636;
/* rgb */ color: rgb(175, 198, 54);
/* oklch */ color: oklch(78.4% 0.164 118.4);
Tailwind
colors: {
  custom: {
    50: '#cad777',
    500: '#afc636',
    950: '#000000',
  },
}
SCSS
$custom: #afc636;
$custom-light: #cad777;
$custom-dark: #000000;
JSON
{
  "hex": "#afc636",
  "rgb": {
    "r": 175,
    "g": 198,
    "b": 54
  },
  "hsl": {
    "h": 69.583,
    "s": 57.143,
    "l": 49.412
  },
  "oklch": {
    "l": 0.78353,
    "c": 0.16426,
    "h": 118.4
  },
  "luminance": 0.49768
}

Semantic roles & 50–950 ramp

primary
#AFC636
secondary
#958BCD
accent
#47E060
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#141409
muted
#82837B

Preview Lab

Preview with #AFC636

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

Preview Lab → · Contrast checker → · Palette generator →

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