#AFC635#AFC635

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

Color values

HEX#AFC635
RGBrgb(175, 198, 53)
HSLhsl(70, 58%, 49%)
HSVhsv(70, 73%, 78%)
CMYKcmyk(11.6%, 0%, 73.2%, 22.4%)
CIE-LABlab(75.92, -26.21, 65.50)
CIE-LCHlch(75.92, 70.55, 111.81°)
OKLaboklab(78.35% -0.0783 0.1451)
OKLCHoklch(78.35% 0.165 118.3)
XYZxyz(38.5167, 49.7595, 10.9429)
Luminance0.4976 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC635 #4C35C6
analogous
#C69535 #AFC635 #67C635
triadic
#AFC635 #35AFC6 #C635AF
tetradic
#AFC635 #35C695 #4C35C6 #C63567
square
#AFC635 #35C695 #4C35C6 #C63567
split-complementary
#AFC635 #3567C6 #9535C6
monochromatic
#5A651B #849628 #AFC635 #C3D563 #D6E293

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFC635#FFFFFF#000000##000000
##AFC6351.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)
#D3BB17
Deuteranopia (green-blind)
#D1BC42
Tritanopia (blue-blind)
#BABBAA
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #afc635;
/* rgb */ color: rgb(175, 198, 53);
/* oklch */ color: oklch(78.3% 0.165 118.3);
Tailwind
colors: {
  custom: {
    50: '#cad777',
    500: '#afc635',
    950: '#000000',
  },
}
SCSS
$custom: #afc635;
$custom-light: #cad777;
$custom-dark: #000000;
JSON
{
  "hex": "#afc635",
  "rgb": {
    "r": 175,
    "g": 198,
    "b": 53
  },
  "hsl": {
    "h": 69.517,
    "s": 57.769,
    "l": 49.216
  },
  "oklch": {
    "l": 0.78346,
    "c": 0.16485,
    "h": 118.3
  },
  "luminance": 0.49759
}

Semantic roles & 50–950 ramp

primary
#AFC635
secondary
#948ACD
accent
#47E15F
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#141409
muted
#82837B

Preview Lab

Preview with #AFC635

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

Preview Lab → · Contrast checker → · Palette generator →

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