#AF9422#AF9422

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

Color values

HEX#AF9422
RGBrgb(175, 148, 34)
HSLhsl(49, 67%, 41%)
HSVhsv(49, 81%, 69%)
CMYKcmyk(0%, 15.4%, 80.6%, 31.4%)
CIE-LABlab(62.01, -1.34, 58.90)
CIE-LCHlch(62.01, 58.92, 91.31°)
OKLaboklab(67.21% -0.0104 0.1275)
OKLCHoklch(67.21% 0.128 94.7)
XYZxyz(28.5594, 30.4109, 5.8787)
Luminance0.3041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9422 #223DAF
analogous
#AF4E22 #AF9422 #83AF22
triadic
#AF9422 #22AF94 #9422AF
tetradic
#AF9422 #22AF4E #223DAF #AF2283
square
#AF9422 #22AF4E #223DAF #AF2283
split-complementary
#AF9422 #2283AF #4E22AF
monochromatic
#493D0E #7C6918 #AF9422 #D8B936 #E2CB69

Accessibility & contrast

On white

2.97
#AF9422 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#AF9422 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9422
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9422#FFFFFF#000000##000000
##AF94221.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af9422;
/* rgb */ color: rgb(175, 148, 34);
/* oklch */ color: oklch(67.2% 0.128 94.7);
Tailwind
colors: {
  custom: {
    50: '#cbb368',
    500: '#af9422',
    950: '#000000',
  },
}
SCSS
$custom: #af9422;
$custom-light: #cbb368;
$custom-dark: #000000;
JSON
{
  "hex": "#af9422",
  "rgb": {
    "r": 175,
    "g": 148,
    "b": 34
  },
  "hsl": {
    "h": 48.511,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.67208,
    "c": 0.12794,
    "h": 94.7
  },
  "luminance": 0.30409
}

Semantic roles & 50–950 ramp

primary
#AF9422
secondary
#6578C8
accent
#5FEA3D
background
#FDFAF6
surface
#FAF5EB
border
#D3CFC6
text
#141007
muted
#837F7A

Preview Lab

Preview with #AF9422

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

Preview Lab → · Contrast checker → · Palette generator →

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