#AFC736#AFC736

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

Color values

HEX#AFC736
RGBrgb(175, 199, 54)
HSLhsl(70, 57%, 50%)
HSVhsv(70, 73%, 78%)
CMYKcmyk(12.1%, 0%, 72.9%, 22%)
CIE-LABlab(76.21, -26.64, 65.43)
CIE-LCHlch(76.21, 70.65, 112.15°)
OKLaboklab(78.58% -0.0794 0.1451)
OKLCHoklch(78.58% 0.165 118.7)
XYZxyz(38.7693, 50.2275, 11.1418)
Luminance0.5023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC736 #4E36C7
analogous
#C79736 #AFC736 #67C736
triadic
#AFC736 #36AFC7 #C736AF
tetradic
#AFC736 #36C797 #4E36C7 #C73667
square
#AFC736 #36C797 #4E36C7 #C73667
split-complementary
#AFC736 #3667C7 #9736C7
monochromatic
#5A671C #859729 #AFC736 #C3D565 #D6E295

Accessibility & contrast

On white

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

On black

11.05
#AFC736 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC736
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC736#FFFFFF#000000##000000
##AFC7361.001.9011.0511.05
#FFFFFF1.901.0021.0021.00
#00000011.0521.001.001.00
##00000011.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afc736;
/* rgb */ color: rgb(175, 199, 54);
/* oklch */ color: oklch(78.6% 0.165 118.7);
Tailwind
colors: {
  custom: {
    50: '#cad877',
    500: '#afc736',
    950: '#000000',
  },
}
SCSS
$custom: #afc736;
$custom-light: #cad877;
$custom-dark: #000000;
JSON
{
  "hex": "#afc736",
  "rgb": {
    "r": 175,
    "g": 199,
    "b": 54
  },
  "hsl": {
    "h": 69.931,
    "s": 57.312,
    "l": 49.608
  },
  "oklch": {
    "l": 0.78579,
    "c": 0.16541,
    "h": 118.7
  },
  "luminance": 0.50227
}

Semantic roles & 50–950 ramp

primary
#AFC736
secondary
#3B3071
accent
#47E161
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #AFC736

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

Preview Lab → · Contrast checker → · Palette generator →

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