#AFC735#AFC735

#AFC735 is a light, vivid yellow. Relative luminance 0.502; OKLCH L 78.6% C 0.166 H 118.7°. Best body text is #000000 at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#AFC735
RGBrgb(175, 199, 53)
HSLhsl(70, 58%, 49%)
HSVhsv(70, 73%, 78%)
CMYKcmyk(12.1%, 0%, 73.4%, 22%)
CIE-LABlab(76.20, -26.69, 65.77)
CIE-LCHlch(76.20, 70.98, 112.09°)
OKLaboklab(78.57% -0.0796 0.1456)
OKLCHoklch(78.57% 0.166 118.7)
XYZxyz(38.7461, 50.2182, 11.0194)
Luminance0.5022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC735 #4D35C7
analogous
#C79635 #AFC735 #66C735
triadic
#AFC735 #35AFC7 #C735AF
tetradic
#AFC735 #35C796 #4D35C7 #C73566
square
#AFC735 #35C796 #4D35C7 #C73566
split-complementary
#AFC735 #3566C7 #9635C7
monochromatic
#5A661B #859728 #AFC735 #C3D664 #D6E294

Accessibility & contrast

On white

1.90
#AFC735 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.04
#AFC735 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC735
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC735#FFFFFF#000000##000000
##AFC7351.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC17
Deuteranopia (green-blind)
#D1BC42
Tritanopia (blue-blind)
#B9BCAB
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #afc735;
/* rgb */ color: rgb(175, 199, 53);
/* oklch */ color: oklch(78.6% 0.166 118.7);
Tailwind
colors: {
  custom: {
    50: '#cad877',
    500: '#afc735',
    950: '#000000',
  },
}
SCSS
$custom: #afc735;
$custom-light: #cad877;
$custom-dark: #000000;
JSON
{
  "hex": "#afc735",
  "rgb": {
    "r": 175,
    "g": 199,
    "b": 53
  },
  "hsl": {
    "h": 69.863,
    "s": 57.937,
    "l": 49.412
  },
  "oklch": {
    "l": 0.78573,
    "c": 0.16598,
    "h": 118.7
  },
  "luminance": 0.50218
}

Semantic roles & 50–950 ramp

primary
#AFC735
secondary
#3A3071
accent
#47E160
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #AFC735

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

Preview Lab → · Contrast checker → · Palette generator →

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