#AF9925#AF9925

#AF9925 is a light, vivid yellow. Relative luminance 0.320; OKLCH L 68.3% C 0.130 H 97.8°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#AF9925
RGBrgb(175, 153, 37)
HSLhsl(50, 65%, 42%)
HSVhsv(50, 79%, 69%)
CMYKcmyk(0%, 12.6%, 78.9%, 31.4%)
CIE-LABlab(63.37, -3.94, 59.15)
CIE-LCHlch(63.37, 59.28, 93.81°)
OKLaboklab(68.29% -0.0175 0.1287)
OKLCHoklch(68.29% 0.13 97.8)
XYZxyz(29.4059, 32.0316, 6.3837)
Luminance0.3203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9925 #253BAF
analogous
#AF5425 #AF9925 #80AF25
triadic
#AF9925 #25AF99 #9925AF
tetradic
#AF9925 #25AF54 #253BAF #AF2580
square
#AF9925 #25AF54 #253BAF #AF2580
split-complementary
#AF9925 #2580AF #5425AF
monochromatic
#4A4110 #7C6D1A #AF9925 #D6BD3C #E0CE6E

Accessibility & contrast

On white

2.84
#AF9925 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#AF9925 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9925
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9925#FFFFFF#000000##000000
##AF99251.002.847.417.41
#FFFFFF2.841.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99508
Deuteranopia (green-blind)
#AF9D2D
Tritanopia (blue-blind)
#BD8D83
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #af9925;
/* rgb */ color: rgb(175, 153, 37);
/* oklch */ color: oklch(68.3% 0.130 97.8);
Tailwind
colors: {
  custom: {
    50: '#cbb66a',
    500: '#af9925',
    950: '#000000',
  },
}
SCSS
$custom: #af9925;
$custom-light: #cbb66a;
$custom-dark: #000000;
JSON
{
  "hex": "#af9925",
  "rgb": {
    "r": 175,
    "g": 153,
    "b": 37
  },
  "hsl": {
    "h": 50.435,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.68291,
    "c": 0.12985,
    "h": 97.8
  },
  "luminance": 0.3203
}

Semantic roles & 50–950 ramp

primary
#AF9925
secondary
#6978C7
accent
#5BE840
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#141107
muted
#83807A

Preview Lab

Preview with #AF9925

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

Preview Lab → · Contrast checker → · Palette generator →

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