#AF9425#AF9425

#AF9425 is a light, vivid yellow. Relative luminance 0.304; OKLCH L 67.2% C 0.126 H 94.5°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#AF9425
RGBrgb(175, 148, 37)
HSLhsl(48, 65%, 42%)
HSVhsv(48, 79%, 69%)
CMYKcmyk(0%, 15.4%, 78.9%, 31.4%)
CIE-LABlab(62.02, -1.23, 57.92)
CIE-LCHlch(62.02, 57.94, 91.22°)
OKLaboklab(67.23% -0.0099 0.126)
OKLCHoklch(67.23% 0.126 94.5)
XYZxyz(28.6046, 30.4290, 6.1166)
Luminance0.3043 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9425 #2540AF
analogous
#AF4F25 #AF9425 #85AF25
triadic
#AF9425 #25AF94 #9425AF
tetradic
#AF9425 #25AF4F #2540AF #AF2585
square
#AF9425 #25AF4F #2540AF #AF2585
split-complementary
#AF9425 #2585AF #4F25AF
monochromatic
#4A3F10 #7C691A #AF9425 #D6B83C #E0CA6E

Accessibility & contrast

On white

2.96
#AF9425 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#AF9425 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9425
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9425#FFFFFF#000000##000000
##AF94251.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4910C
Deuteranopia (green-blind)
#AB992C
Tritanopia (blue-blind)
#BE887F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #af9425;
/* rgb */ color: rgb(175, 148, 37);
/* oklch */ color: oklch(67.2% 0.126 94.5);
Tailwind
colors: {
  custom: {
    50: '#cbb369',
    500: '#af9425',
    950: '#000000',
  },
}
SCSS
$custom: #af9425;
$custom-light: #cbb369;
$custom-dark: #000000;
JSON
{
  "hex": "#af9425",
  "rgb": {
    "r": 175,
    "g": 148,
    "b": 37
  },
  "hsl": {
    "h": 48.261,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.67226,
    "c": 0.12642,
    "h": 94.5
  },
  "luminance": 0.30427
}

Semantic roles & 50–950 ramp

primary
#AF9425
secondary
#697BC7
accent
#61E840
background
#FDFAF6
surface
#FAF5EB
border
#D3CFC6
text
#141007
muted
#837F7A

Preview Lab

Preview with #AF9425

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

Preview Lab → · Contrast checker → · Palette generator →

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