#AFA133#AFA133

#AFA133 is a light, vivid yellow. Relative luminance 0.348; OKLCH L 70.1% C 0.128 H 101.9°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#AFA133
RGBrgb(175, 161, 51)
HSLhsl(53, 55%, 44%)
HSVhsv(53, 71%, 69%)
CMYKcmyk(0%, 8%, 70.9%, 31.4%)
CIE-LABlab(65.63, -7.58, 56.20)
CIE-LCHlch(65.63, 56.71, 97.68°)
OKLaboklab(70.11% -0.0264 0.1251)
OKLCHoklch(70.11% 0.128 101.9)
XYZxyz(31.0230, 34.8441, 8.2228)
Luminance0.3484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA133 #3341AF
analogous
#AF6333 #AFA133 #7FAF33
triadic
#AFA133 #33AFA1 #A133AF
tetradic
#AFA133 #33AF63 #3341AF #AF337F
square
#AFA133 #33AF63 #3341AF #AF337F
split-complementary
#AFA133 #337FAF #6333AF
monochromatic
#504A17 #807525 #AFA133 #CDBF52 #DBD182

Accessibility & contrast

On white

2.64
#AFA133 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#AFA133 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA133
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA133#FFFFFF#000000##000000
##AFA1331.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C22
Deuteranopia (green-blind)
#B4A23A
Tritanopia (blue-blind)
#BC968B
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #afa133;
/* rgb */ color: rgb(175, 161, 51);
/* oklch */ color: oklch(70.1% 0.128 101.9);
Tailwind
colors: {
  custom: {
    50: '#cabc72',
    500: '#afa133',
    950: '#000000',
  },
}
SCSS
$custom: #afa133;
$custom-light: #cabc72;
$custom-dark: #000000;
JSON
{
  "hex": "#afa133",
  "rgb": {
    "r": 175,
    "g": 161,
    "b": 51
  },
  "hsl": {
    "h": 53.226,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.70109,
    "c": 0.12787,
    "h": 101.9
  },
  "luminance": 0.34843
}

Semantic roles & 50–950 ramp

primary
#AFA133
secondary
#7A82C4
accent
#5ADE4A
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #AFA133

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

Preview Lab → · Contrast checker → · Palette generator →

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