#AF9631#AF9631

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

Color values

HEX#AF9631
RGBrgb(175, 150, 49)
HSLhsl(48, 56%, 44%)
HSVhsv(48, 72%, 69%)
CMYKcmyk(0%, 14.3%, 72%, 31.4%)
CIE-LABlab(62.63, -1.79, 54.02)
CIE-LCHlch(62.63, 54.05, 91.89°)
OKLaboklab(67.73% -0.0101 0.1201)
OKLCHoklch(67.73% 0.121 94.8)
XYZxyz(29.1414, 31.1500, 7.3827)
Luminance0.3115 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9631 #314AAF
analogous
#AF5731 #AF9631 #89AF31
triadic
#AF9631 #31AF96 #9631AF
tetradic
#AF9631 #31AF57 #314AAF #AF3189
square
#AF9631 #31AF57 #314AAF #AF3189
split-complementary
#AF9631 #3189AF #5731AF
monochromatic
#4F4416 #7F6D24 #AF9631 #CEB54F #DBC97F

Accessibility & contrast

On white

2.90
#AF9631 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#AF9631 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9631
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9631#FFFFFF#000000##000000
##AF96311.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69322
Deuteranopia (green-blind)
#AC9B37
Tritanopia (blue-blind)
#BD8A82
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af9631;
/* rgb */ color: rgb(175, 150, 49);
/* oklch */ color: oklch(67.7% 0.121 94.8);
Tailwind
colors: {
  custom: {
    50: '#cbb470',
    500: '#af9631',
    950: '#000000',
  },
}
SCSS
$custom: #af9631;
$custom-light: #cbb470;
$custom-dark: #000000;
JSON
{
  "hex": "#af9631",
  "rgb": {
    "r": 175,
    "g": 150,
    "b": 49
  },
  "hsl": {
    "h": 48.095,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.67733,
    "c": 0.12057,
    "h": 94.8
  },
  "luminance": 0.31148
}

Semantic roles & 50–950 ramp

primary
#AF9631
secondary
#7887C4
accent
#66E048
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AF9631

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

Preview Lab → · Contrast checker → · Palette generator →

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