#AFBD25#AFBD25

#AFBD25 is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.2% C 0.163 H 115.1°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#AFBD25
RGBrgb(175, 189, 37)
HSLhsl(66, 67%, 44%)
HSVhsv(66, 80%, 74%)
CMYKcmyk(7.4%, 0%, 80.4%, 25.9%)
CIE-LABlab(73.31, -22.50, 68.00)
CIE-LCHlch(73.31, 71.63, 108.31°)
OKLaboklab(76.22% -0.0693 0.1477)
OKLCHoklch(76.22% 0.163 115.1)
XYZxyz(36.2118, 45.6434, 8.6524)
Luminance0.4564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBD25 #3325BD
analogous
#BD7F25 #AFBD25 #63BD25
triadic
#AFBD25 #25AFBD #BD25AF
tetradic
#AFBD25 #25BD7F #3325BD #BD2563
square
#AFBD25 #25BD7F #3325BD #BD2563
split-complementary
#AFBD25 #2563BD #7F25BD
monochromatic
#505711 #808A1B #AFBD25 #CDDB45 #DBE578

Accessibility & contrast

On white

2.07
#AFBD25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.13
#AFBD25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBD25
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBD25#FFFFFF#000000##000000
##AFBD251.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB300
Deuteranopia (green-blind)
#CAB534
Tritanopia (blue-blind)
#BBB2A2
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbd25;
/* rgb */ color: rgb(175, 189, 37);
/* oklch */ color: oklch(76.2% 0.163 115.1);
Tailwind
colors: {
  custom: {
    50: '#cbd06e',
    500: '#afbd25',
    950: '#000000',
  },
}
SCSS
$custom: #afbd25;
$custom-light: #cbd06e;
$custom-dark: #000000;
JSON
{
  "hex": "#afbd25",
  "rgb": {
    "r": 175,
    "g": 189,
    "b": 37
  },
  "hsl": {
    "h": 65.526,
    "s": 67.257,
    "l": 44.314
  },
  "oklch": {
    "l": 0.76225,
    "c": 0.16311,
    "h": 115.1
  },
  "luminance": 0.45643
}

Semantic roles & 50–950 ramp

primary
#AFBD25
secondary
#7A72CC
accent
#3EEA4E
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141408
muted
#82827B

Preview Lab

Preview with #AFBD25

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

Preview Lab → · Contrast checker → · Palette generator →

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