#AFA636#AFA636

#AFA636 is a light, vivid yellow. Relative luminance 0.367; OKLCH L 71.2% C 0.130 H 104.7°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#AFA636
RGBrgb(175, 166, 54)
HSLhsl(56, 53%, 45%)
HSVhsv(56, 69%, 69%)
CMYKcmyk(0%, 5.1%, 69.1%, 31.4%)
CIE-LABlab(67.02, -10.06, 56.40)
CIE-LCHlch(67.02, 57.29, 100.11°)
OKLaboklab(71.22% -0.0331 0.1261)
OKLCHoklch(71.22% 0.13 104.7)
XYZxyz(31.9825, 36.6539, 8.8795)
Luminance0.3665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA636 #363FAF
analogous
#AF6936 #AFA636 #7CAF36
triadic
#AFA636 #36AFA6 #A636AF
tetradic
#AFA636 #36AF69 #363FAF #AF367C
square
#AFA636 #36AF69 #363FAF #AF367C
split-complementary
#AFA636 #367CAF #6936AF
monochromatic
#514D19 #807A28 #AFA636 #CBC357 #DAD386

Accessibility & contrast

On white

2.52
#AFA636 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#AFA636 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA636
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA636#FFFFFF#000000##000000
##AFA6361.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A025
Deuteranopia (green-blind)
#B8A53D
Tritanopia (blue-blind)
#BC9B90
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #afa636;
/* rgb */ color: rgb(175, 166, 54);
/* oklch */ color: oklch(71.2% 0.130 104.7);
Tailwind
colors: {
  custom: {
    50: '#cac074',
    500: '#afa636',
    950: '#000000',
  },
}
SCSS
$custom: #afa636;
$custom-light: #cac074;
$custom-dark: #000000;
JSON
{
  "hex": "#afa636",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 54
  },
  "hsl": {
    "h": 55.537,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.71221,
    "c": 0.13034,
    "h": 104.7
  },
  "luminance": 0.36653
}

Semantic roles & 50–950 ramp

primary
#AFA636
secondary
#7D83C3
accent
#56DC4C
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141209
muted
#82817B

Preview Lab

Preview with #AFA636

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

Preview Lab → · Contrast checker → · Palette generator →

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