#AFC437#AFC437

#AFC437 is a light, vivid yellow. Relative luminance 0.489; OKLCH L 77.9% C 0.161 H 117.8°. Best body text is #000000 at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#AFC437
RGBrgb(175, 196, 55)
HSLhsl(69, 56%, 49%)
HSVhsv(69, 72%, 77%)
CMYKcmyk(10.7%, 0%, 71.9%, 23.1%)
CIE-LABlab(75.37, -25.14, 64.28)
CIE-LCHlch(75.37, 69.02, 111.36°)
OKLaboklab(77.91% -0.0752 0.1428)
OKLCHoklch(77.91% 0.161 117.8)
XYZxyz(38.1096, 48.8700, 11.0389)
Luminance0.4887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC437 #4C37C4
analogous
#C49337 #AFC437 #69C437
triadic
#AFC437 #37AFC4 #C437AF
tetradic
#AFC437 #37C493 #4C37C4 #C43769
square
#AFC437 #37C493 #4C37C4 #C43769
split-complementary
#AFC437 #3769C4 #9337C4
monochromatic
#5A641C #84942A #AFC437 #C3D465 #D6E194

Accessibility & contrast

On white

1.95
#AFC437 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.77
#AFC437 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC437
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC437#FFFFFF#000000##000000
##AFC4371.001.9510.7710.77
#FFFFFF1.951.0021.0021.00
#00000010.7721.001.001.00
##00000010.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B91D
Deuteranopia (green-blind)
#CFBA43
Tritanopia (blue-blind)
#BAB9A9
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #afc437;
/* rgb */ color: rgb(175, 196, 55);
/* oklch */ color: oklch(77.9% 0.161 117.8);
Tailwind
colors: {
  custom: {
    50: '#cad577',
    500: '#afc437',
    950: '#000000',
  },
}
SCSS
$custom: #afc437;
$custom-light: #cad577;
$custom-dark: #000000;
JSON
{
  "hex": "#afc437",
  "rgb": {
    "r": 175,
    "g": 196,
    "b": 55
  },
  "hsl": {
    "h": 68.936,
    "s": 56.175,
    "l": 49.216
  },
  "oklch": {
    "l": 0.77907,
    "c": 0.16141,
    "h": 117.8
  },
  "luminance": 0.4887
}

Semantic roles & 50–950 ramp

primary
#AFC437
secondary
#948BCC
accent
#48DF5F
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#141409
muted
#82837B

Preview Lab

Preview with #AFC437

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

Preview Lab → · Contrast checker → · Palette generator →

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