#AFB025#AFB025

#AFB025 is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.3% C 0.150 H 110.0°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#AFB025
RGBrgb(175, 176, 37)
HSLhsl(60, 65%, 42%)
HSVhsv(60, 79%, 69%)
CMYKcmyk(0.6%, 0%, 79%, 31%)
CIE-LABlab(69.68, -15.99, 64.80)
CIE-LCHlch(69.68, 66.75, 103.86°)
OKLaboklab(73.32% -0.0513 0.1408)
OKLCHoklch(73.32% 0.15 110)
XYZxyz(33.5397, 40.2992, 7.7617)
Luminance0.4030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB025 #2625B0
analogous
#B06C25 #AFB025 #69B025
triadic
#AFB025 #25AFB0 #B025AF
tetradic
#AFB025 #25B06C #2625B0 #B02569
square
#AFB025 #25B06C #2625B0 #B02569
split-complementary
#AFB025 #2569B0 #6C25B0
monochromatic
#4A4B10 #7D7D1A #AFB025 #D5D63C #E0E16F

Accessibility & contrast

On white

2.32
#AFB025 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#AFB025 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB025
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB025#FFFFFF#000000##000000
##AFB0251.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA800
Deuteranopia (green-blind)
#C0AC32
Tritanopia (blue-blind)
#BCA497
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #afb025;
/* rgb */ color: rgb(175, 176, 37);
/* oklch */ color: oklch(73.3% 0.150 110.0);
Tailwind
colors: {
  custom: {
    50: '#cbc76d',
    500: '#afb025',
    950: '#000000',
  },
}
SCSS
$custom: #afb025;
$custom-light: #cbc76d;
$custom-dark: #000000;
JSON
{
  "hex": "#afb025",
  "rgb": {
    "r": 175,
    "g": 176,
    "b": 37
  },
  "hsl": {
    "h": 60.432,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.73316,
    "c": 0.14984,
    "h": 110
  },
  "luminance": 0.40298
}

Semantic roles & 50–950 ramp

primary
#AFB025
secondary
#6A6AC7
accent
#40E841
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141308
muted
#82827A

Preview Lab

Preview with #AFB025

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

Preview Lab → · Contrast checker → · Palette generator →

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