#AFC436#AFC436

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

Color values

HEX#AFC436
RGBrgb(175, 196, 54)
HSLhsl(69, 57%, 49%)
HSVhsv(69, 72%, 77%)
CMYKcmyk(10.7%, 0%, 72.4%, 23.1%)
CIE-LABlab(75.36, -25.19, 64.62)
CIE-LCHlch(75.36, 69.36, 111.30°)
OKLaboklab(77.9% -0.0754 0.1434)
OKLCHoklch(77.9% 0.162 117.7)
XYZxyz(38.0858, 48.8606, 10.9140)
Luminance0.4886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC436 #4B36C4
analogous
#C49236 #AFC436 #68C436
triadic
#AFC436 #36AFC4 #C436AF
tetradic
#AFC436 #36C492 #4B36C4 #C43668
square
#AFC436 #36C492 #4B36C4 #C43668
split-complementary
#AFC436 #3668C4 #9236C4
monochromatic
#59641C #849429 #AFC436 #C3D463 #D6E193

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFC436#FFFFFF#000000##000000
##AFC4361.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)
#D1B91A
Deuteranopia (green-blind)
#CFBA42
Tritanopia (blue-blind)
#BAB9A9
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #afc436;
/* rgb */ color: rgb(175, 196, 54);
/* oklch */ color: oklch(77.9% 0.162 117.7);
Tailwind
colors: {
  custom: {
    50: '#cad577',
    500: '#afc436',
    950: '#000000',
  },
}
SCSS
$custom: #afc436;
$custom-light: #cad577;
$custom-dark: #000000;
JSON
{
  "hex": "#afc436",
  "rgb": {
    "r": 175,
    "g": 196,
    "b": 54
  },
  "hsl": {
    "h": 68.873,
    "s": 56.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.779,
    "c": 0.162,
    "h": 117.7
  },
  "luminance": 0.4886
}

Semantic roles & 50–950 ramp

primary
#AFC436
secondary
#9389CC
accent
#48E05E
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#141409
muted
#82837B

Preview Lab

Preview with #AFC436

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

Preview Lab → · Contrast checker → · Palette generator →

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