#AF9031#AF9031

#AF9031 is a light, moderate yellow. Relative luminance 0.293; OKLCH L 66.5% C 0.117 H 90.4°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#AF9031
RGBrgb(175, 144, 49)
HSLhsl(45, 56%, 44%)
HSVhsv(45, 72%, 69%)
CMYKcmyk(0%, 17.7%, 72%, 31.4%)
CIE-LABlab(61.03, 1.48, 52.42)
CIE-LCHlch(61.03, 52.44, 88.38°)
OKLaboklab(66.47% -0.0008 0.1167)
OKLCHoklch(66.47% 0.117 90.4)
XYZxyz(28.2084, 29.2839, 7.0717)
Luminance0.2928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9031 #3150AF
analogous
#AF5131 #AF9031 #8FAF31
triadic
#AF9031 #31AF90 #9031AF
tetradic
#AF9031 #31AF51 #3150AF #AF318F
square
#AF9031 #31AF51 #3150AF #AF318F
split-complementary
#AF9031 #318FAF #5131AF
monochromatic
#4F4116 #7F6924 #AF9031 #CEAF4F #DBC57F

Accessibility & contrast

On white

3.06
#AF9031 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#AF9031 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF9031
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9031#FFFFFF#000000##000000
##AF90311.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E24
Deuteranopia (green-blind)
#A89736
Tritanopia (blue-blind)
#BD847D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #af9031;
/* rgb */ color: rgb(175, 144, 49);
/* oklch */ color: oklch(66.5% 0.117 90.4);
Tailwind
colors: {
  custom: {
    50: '#cbb06f',
    500: '#af9031',
    950: '#000000',
  },
}
SCSS
$custom: #af9031;
$custom-light: #cbb06f;
$custom-dark: #000000;
JSON
{
  "hex": "#af9031",
  "rgb": {
    "r": 175,
    "g": 144,
    "b": 49
  },
  "hsl": {
    "h": 45.238,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.66467,
    "c": 0.11674,
    "h": 90.4
  },
  "luminance": 0.29282
}

Semantic roles & 50–950 ramp

primary
#AF9031
secondary
#788AC4
accent
#6DE048
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141008
muted
#827F7B

Preview Lab

Preview with #AF9031

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

Preview Lab → · Contrast checker → · Palette generator →

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