#AFA635#AFA635

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

Color values

HEX#AFA635
RGBrgb(175, 166, 53)
HSLhsl(56, 54%, 45%)
HSVhsv(56, 70%, 69%)
CMYKcmyk(0%, 5.1%, 69.7%, 31.4%)
CIE-LABlab(67.01, -10.11, 56.79)
CIE-LCHlch(67.01, 57.68, 100.10°)
OKLaboklab(71.21% -0.0333 0.1267)
OKLCHoklch(71.21% 0.131 104.7)
XYZxyz(31.9593, 36.6447, 8.7571)
Luminance0.3664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA635 #353EAF
analogous
#AF6935 #AFA635 #7BAF35
triadic
#AFA635 #35AFA6 #A635AF
tetradic
#AFA635 #35AF69 #353EAF #AF357B
square
#AFA635 #35AF69 #353EAF #AF357B
split-complementary
#AFA635 #357BAF #6935AF
monochromatic
#514D19 #807927 #AFA635 #CCC356 #DAD485

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA635#FFFFFF#000000##000000
##AFA6351.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)
#B5A024
Deuteranopia (green-blind)
#B8A53C
Tritanopia (blue-blind)
#BC9B8F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #afa635;
/* rgb */ color: rgb(175, 166, 53);
/* oklch */ color: oklch(71.2% 0.131 104.7);
Tailwind
colors: {
  custom: {
    50: '#cac073',
    500: '#afa635',
    950: '#000000',
  },
}
SCSS
$custom: #afa635;
$custom-light: #cac073;
$custom-dark: #000000;
JSON
{
  "hex": "#afa635",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 53
  },
  "hsl": {
    "h": 55.574,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.71213,
    "c": 0.13103,
    "h": 104.7
  },
  "luminance": 0.36643
}

Semantic roles & 50–950 ramp

primary
#AFA635
secondary
#7C82C4
accent
#56DD4B
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #AFA635

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

Preview Lab → · Contrast checker → · Palette generator →

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