#AF9E46#AF9E46

#AF9E46 is a light, moderate yellow. Relative luminance 0.340; OKLCH L 69.6% C 0.110 H 98.5°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#AF9E46
RGBrgb(175, 158, 70)
HSLhsl(50, 43%, 48%)
HSVhsv(50, 60%, 69%)
CMYKcmyk(0%, 9.7%, 60%, 31.4%)
CIE-LABlab(64.97, -4.79, 47.24)
CIE-LCHlch(64.97, 47.48, 95.79°)
OKLaboklab(69.64% -0.0162 0.1091)
OKLCHoklch(69.64% 0.11 98.5)
XYZxyz(31.0128, 34.0112, 10.7244)
Luminance0.3401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9E46 #4657AF
analogous
#AF6A46 #AF9E46 #8BAF46
triadic
#AF9E46 #46AF9E #9E46AF
tetradic
#AF9E46 #46AF6A #4657AF #AF468B
square
#AF9E46 #46AF6A #4657AF #AF468B
split-complementary
#AF9E46 #468BAF #6A46AF
monochromatic
#584F23 #837735 #AF9E46 #C5B76D #D6CC99

Accessibility & contrast

On white

2.69
#AF9E46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#AF9E46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9E46
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9E46#FFFFFF#000000##000000
##AF9E461.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9A3D
Deuteranopia (green-blind)
#B1A04A
Tritanopia (blue-blind)
#BC938B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #af9e46;
/* rgb */ color: rgb(175, 158, 70);
/* oklch */ color: oklch(69.6% 0.110 98.5);
Tailwind
colors: {
  custom: {
    50: '#c9ba7d',
    500: '#af9e46',
    950: '#000000',
  },
}
SCSS
$custom: #af9e46;
$custom-light: #c9ba7d;
$custom-dark: #000000;
JSON
{
  "hex": "#af9e46",
  "rgb": {
    "r": 175,
    "g": 158,
    "b": 70
  },
  "hsl": {
    "h": 50.286,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.69641,
    "c": 0.11031,
    "h": 98.5
  },
  "luminance": 0.3401
}

Semantic roles & 50–950 ramp

primary
#AF9E46
secondary
#8E97C2
accent
#69D355
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14110A
muted
#82807C

Preview Lab

Preview with #AF9E46

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

Preview Lab → · Contrast checker → · Palette generator →

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