#AF9625#AF9625

#AF9625 is a light, vivid yellow. Relative luminance 0.311; OKLCH L 67.7% C 0.128 H 95.8°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#AF9625
RGBrgb(175, 150, 37)
HSLhsl(49, 65%, 42%)
HSVhsv(49, 79%, 69%)
CMYKcmyk(0%, 14.3%, 78.9%, 31.4%)
CIE-LABlab(62.56, -2.32, 58.41)
CIE-LCHlch(62.56, 58.46, 92.27°)
OKLaboklab(67.65% -0.0129 0.1271)
OKLCHoklch(67.65% 0.128 95.8)
XYZxyz(28.9210, 31.0618, 6.2221)
Luminance0.3106 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9625 #253EAF
analogous
#AF5125 #AF9625 #83AF25
triadic
#AF9625 #25AF96 #9625AF
tetradic
#AF9625 #25AF51 #253EAF #AF2583
square
#AF9625 #25AF51 #253EAF #AF2583
split-complementary
#AF9625 #2583AF #5125AF
monochromatic
#4A3F10 #7C6B1A #AF9625 #D6BA3C #E0CC6E

Accessibility & contrast

On white

2.91
#AF9625 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#AF9625 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9625
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9625#FFFFFF#000000##000000
##AF96251.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6930A
Deuteranopia (green-blind)
#AD9B2D
Tritanopia (blue-blind)
#BD8A81
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af9625;
/* rgb */ color: rgb(175, 150, 37);
/* oklch */ color: oklch(67.7% 0.128 95.8);
Tailwind
colors: {
  custom: {
    50: '#cbb469',
    500: '#af9625',
    950: '#000000',
  },
}
SCSS
$custom: #af9625;
$custom-light: #cbb469;
$custom-dark: #000000;
JSON
{
  "hex": "#af9625",
  "rgb": {
    "r": 175,
    "g": 150,
    "b": 37
  },
  "hsl": {
    "h": 49.13,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.6765,
    "c": 0.12774,
    "h": 95.8
  },
  "luminance": 0.3106
}

Semantic roles & 50–950 ramp

primary
#AF9625
secondary
#697AC7
accent
#5EE840
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#141107
muted
#83807A

Preview Lab

Preview with #AF9625

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

Preview Lab → · Contrast checker → · Palette generator →

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