#AFA633#AFA633

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

Color values

HEX#AFA633
RGBrgb(175, 166, 51)
HSLhsl(56, 55%, 44%)
HSVhsv(56, 71%, 69%)
CMYKcmyk(0%, 5.1%, 70.9%, 31.4%)
CIE-LABlab(67.00, -10.22, 57.55)
CIE-LCHlch(67.00, 58.45, 100.07°)
OKLaboklab(71.2% -0.0339 0.128)
OKLCHoklch(71.2% 0.132 104.8)
XYZxyz(31.9143, 36.6266, 8.5199)
Luminance0.3663 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA633 #333CAF
analogous
#AF6833 #AFA633 #7AAF33
triadic
#AFA633 #33AFA6 #A633AF
tetradic
#AFA633 #33AF68 #333CAF #AF337A
square
#AFA633 #33AF68 #333CAF #AF337A
split-complementary
#AFA633 #337AAF #6833AF
monochromatic
#504C17 #807925 #AFA633 #CDC452 #DBD482

Accessibility & contrast

On white

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

On black

8.32
#AFA633 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA633
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA633#FFFFFF#000000##000000
##AFA6331.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A020
Deuteranopia (green-blind)
#B8A53B
Tritanopia (blue-blind)
#BC9B8F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #afa633;
/* rgb */ color: rgb(175, 166, 51);
/* oklch */ color: oklch(71.2% 0.132 104.8);
Tailwind
colors: {
  custom: {
    50: '#cac072',
    500: '#afa633',
    950: '#000000',
  },
}
SCSS
$custom: #afa633;
$custom-light: #cac072;
$custom-dark: #000000;
JSON
{
  "hex": "#afa633",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 51
  },
  "hsl": {
    "h": 55.645,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.71198,
    "c": 0.13237,
    "h": 104.8
  },
  "luminance": 0.36625
}

Semantic roles & 50–950 ramp

primary
#AFA633
secondary
#7A7FC4
accent
#54DE4A
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #AFA633

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

Preview Lab → · Contrast checker → · Palette generator →

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