#AFC637#AFC637

#AFC637 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.96:1 contrast (WCAG AA passes).

Color values

HEX#AFC637
RGBrgb(175, 198, 55)
HSLhsl(70, 57%, 50%)
HSVhsv(70, 72%, 78%)
CMYKcmyk(11.6%, 0%, 72.2%, 22.4%)
CIE-LABlab(75.93, -26.11, 64.82)
CIE-LCHlch(75.93, 69.88, 111.94°)
OKLaboklab(78.36% -0.0778 0.144)
OKLCHoklch(78.36% 0.164 118.4)
XYZxyz(38.5637, 49.7783, 11.1903)
Luminance0.4978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC637 #4E37C6
analogous
#C69537 #AFC637 #68C637
triadic
#AFC637 #37AFC6 #C637AF
tetradic
#AFC637 #37C695 #4E37C6 #C63768
square
#AFC637 #37C695 #4E37C6 #C63768
split-complementary
#AFC637 #3768C6 #9537C6
monochromatic
#5A661C #85962A #AFC637 #C3D466 #D6E296

Accessibility & contrast

On white

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

On black

10.96
#AFC637 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC637
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC637#FFFFFF#000000##000000
##AFC6371.001.9210.9610.96
#FFFFFF1.921.0021.0021.00
#00000010.9621.001.001.00
##00000010.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB1C
Deuteranopia (green-blind)
#D1BC43
Tritanopia (blue-blind)
#B9BBAA
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #afc637;
/* rgb */ color: rgb(175, 198, 55);
/* oklch */ color: oklch(78.4% 0.164 118.4);
Tailwind
colors: {
  custom: {
    50: '#cad778',
    500: '#afc637',
    950: '#000000',
  },
}
SCSS
$custom: #afc637;
$custom-light: #cad778;
$custom-dark: #000000;
JSON
{
  "hex": "#afc637",
  "rgb": {
    "r": 175,
    "g": 198,
    "b": 55
  },
  "hsl": {
    "h": 69.65,
    "s": 56.522,
    "l": 49.608
  },
  "oklch": {
    "l": 0.78359,
    "c": 0.16367,
    "h": 118.4
  },
  "luminance": 0.49778
}

Semantic roles & 50–950 ramp

primary
#AFC637
secondary
#968CCD
accent
#48E060
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#141409
muted
#82837B

Preview Lab

Preview with #AFC637

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

Preview Lab → · Contrast checker → · Palette generator →

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