#AF9431#AF9431

#AF9431 is a light, moderate yellow. Relative luminance 0.305; OKLCH L 67.3% C 0.119 H 93.4°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#AF9431
RGBrgb(175, 148, 49)
HSLhsl(47, 56%, 44%)
HSVhsv(47, 72%, 69%)
CMYKcmyk(0%, 15.4%, 72%, 31.4%)
CIE-LABlab(62.10, -0.70, 53.49)
CIE-LCHlch(62.10, 53.49, 90.75°)
OKLaboklab(67.31% -0.007 0.119)
OKLCHoklch(67.31% 0.119 93.4)
XYZxyz(28.8250, 30.5172, 7.2773)
Luminance0.3052 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9431 #314CAF
analogous
#AF5531 #AF9431 #8BAF31
triadic
#AF9431 #31AF94 #9431AF
tetradic
#AF9431 #31AF55 #314CAF #AF318B
square
#AF9431 #31AF55 #314CAF #AF318B
split-complementary
#AF9431 #318BAF #5531AF
monochromatic
#4F4316 #7F6C24 #AF9431 #CEB34F #DBC77F

Accessibility & contrast

On white

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

On black

7.10
#AF9431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9431
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9431#FFFFFF#000000##000000
##AF94311.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49122
Deuteranopia (green-blind)
#AB9936
Tritanopia (blue-blind)
#BD8880
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #af9431;
/* rgb */ color: rgb(175, 148, 49);
/* oklch */ color: oklch(67.3% 0.119 93.4);
Tailwind
colors: {
  custom: {
    50: '#cbb36f',
    500: '#af9431',
    950: '#000000',
  },
}
SCSS
$custom: #af9431;
$custom-light: #cbb36f;
$custom-dark: #000000;
JSON
{
  "hex": "#af9431",
  "rgb": {
    "r": 175,
    "g": 148,
    "b": 49
  },
  "hsl": {
    "h": 47.143,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.67309,
    "c": 0.11921,
    "h": 93.4
  },
  "luminance": 0.30516
}

Semantic roles & 50–950 ramp

primary
#AF9431
secondary
#7888C4
accent
#69E048
background
#FCFAF6
surface
#F9F5EC
border
#D2CFC7
text
#141008
muted
#827F7B

Preview Lab

Preview with #AF9431

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

Preview Lab → · Contrast checker → · Palette generator →

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