#AFC625#AFC625

#AFC625 is a light, vivid yellow. Relative luminance 0.496; OKLCH L 78.3% C 0.173 H 118.1°. Best body text is #000000 at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#AFC625
RGBrgb(175, 198, 37)
HSLhsl(69, 69%, 46%)
HSVhsv(69, 81%, 78%)
CMYKcmyk(11.6%, 0%, 81.3%, 22.4%)
CIE-LABlab(75.85, -26.87, 70.22)
CIE-LCHlch(75.85, 75.19, 110.94°)
OKLaboklab(78.26% -0.0813 0.1524)
OKLCHoklch(78.26% 0.173 118.1)
XYZxyz(38.2082, 49.6361, 9.3178)
Luminance0.4964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC625 #3C25C6
analogous
#C68C25 #AFC625 #5FC625
triadic
#AFC625 #25AFC6 #C625AF
tetradic
#AFC625 #25C68C #3C25C6 #C6255F
square
#AFC625 #25C68C #3C25C6 #C6255F
split-complementary
#AFC625 #255FC6 #8C25C6
monochromatic
#545F12 #81921B #AFC625 #C8DD4B #D8E77E

Accessibility & contrast

On white

1.92
#AFC625 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.93
#AFC625 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC625
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC625#FFFFFF#000000##000000
##AFC6251.001.9210.9310.93
#FFFFFF1.921.0021.0021.00
#00000010.9321.001.001.00
##00000010.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BB00
Deuteranopia (green-blind)
#D1BC36
Tritanopia (blue-blind)
#BABBA9
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #afc625;
/* rgb */ color: rgb(175, 198, 37);
/* oklch */ color: oklch(78.3% 0.173 118.1);
Tailwind
colors: {
  custom: {
    50: '#cbd770',
    500: '#afc625',
    950: '#000000',
  },
}
SCSS
$custom: #afc625;
$custom-light: #cbd770;
$custom-dark: #000000;
JSON
{
  "hex": "#afc625",
  "rgb": {
    "r": 175,
    "g": 198,
    "b": 37
  },
  "hsl": {
    "h": 68.571,
    "s": 68.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.78261,
    "c": 0.17274,
    "h": 118.1
  },
  "luminance": 0.49636
}

Semantic roles & 50–950 ramp

primary
#AFC625
secondary
#8477CF
accent
#3CEB55
background
#FDFDF7
surface
#FAFAED
border
#D3D3C8
text
#141408
muted
#83837B

Preview Lab

Preview with #AFC625

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

Preview Lab → · Contrast checker → · Palette generator →

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