#AFA625#AFA625

#AFA625 is a light, vivid yellow. Relative luminance 0.365; OKLCH L 71.1% C 0.140 H 105.2°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#AFA625
RGBrgb(175, 166, 37)
HSLhsl(56, 65%, 42%)
HSVhsv(56, 79%, 69%)
CMYKcmyk(0%, 5.1%, 78.9%, 31.4%)
CIE-LABlab(66.92, -10.83, 62.34)
CIE-LCHlch(66.92, 63.27, 99.86°)
OKLaboklab(71.11% -0.0369 0.1355)
OKLCHoklch(71.11% 0.14 105.2)
XYZxyz(31.6507, 36.5212, 7.1320)
Luminance0.3652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA625 #252EAF
analogous
#AF6125 #AFA625 #73AF25
triadic
#AFA625 #25AFA6 #A625AF
tetradic
#AFA625 #25AF61 #252EAF #AF2573
square
#AFA625 #25AF61 #252EAF #AF2573
split-complementary
#AFA625 #2573AF #6125AF
monochromatic
#4A4610 #7C761A #AFA625 #D6CC3C #E0D96E

Accessibility & contrast

On white

2.53
#AFA625 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#AFA625 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA625
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA625#FFFFFF#000000##000000
##AFA6251.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#B8A530
Tritanopia (blue-blind)
#BC9A8E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #afa625;
/* rgb */ color: rgb(175, 166, 37);
/* oklch */ color: oklch(71.1% 0.140 105.2);
Tailwind
colors: {
  custom: {
    50: '#cbc06b',
    500: '#afa625',
    950: '#000000',
  },
}
SCSS
$custom: #afa625;
$custom-light: #cbc06b;
$custom-dark: #000000;
JSON
{
  "hex": "#afa625",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 37
  },
  "hsl": {
    "h": 56.087,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.71109,
    "c": 0.14044,
    "h": 105.2
  },
  "luminance": 0.3652
}

Semantic roles & 50–950 ramp

primary
#AFA625
secondary
#696FC7
accent
#4BE840
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #AFA625

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

Preview Lab → · Contrast checker → · Palette generator →

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