#AF9749#AF9749

#AF9749 is a light, moderate yellow. Relative luminance 0.317; OKLCH L 68.2% C 0.102 H 92.4°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#AF9749
RGBrgb(175, 151, 73)
HSLhsl(46, 41%, 49%)
HSVhsv(46, 58%, 69%)
CMYKcmyk(0%, 13.7%, 58.3%, 31.4%)
CIE-LABlab(63.12, -0.79, 43.69)
CIE-LCHlch(63.12, 43.70, 91.03°)
OKLaboklab(68.19% -0.0043 0.1019)
OKLCHoklch(68.19% 0.102 92.4)
XYZxyz(29.9497, 31.7297, 10.8489)
Luminance0.3173 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9749 #4961AF
analogous
#AF6449 #AF9749 #94AF49
triadic
#AF9749 #49AF97 #9749AF
tetradic
#AF9749 #49AF64 #4961AF #AF4994
square
#AF9749 #49AF64 #4961AF #AF4994
split-complementary
#AF9749 #4994AF #6449AF
monochromatic
#594C25 #847237 #AF9749 #C4B071 #D6C89C

Accessibility & contrast

On white

2.86
#AF9749 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#AF9749 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9749
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9749#FFFFFF#000000##000000
##AF97491.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59541
Deuteranopia (green-blind)
#AB9C4C
Tritanopia (blue-blind)
#BC8C85
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #af9749;
/* rgb */ color: rgb(175, 151, 73);
/* oklch */ color: oklch(68.2% 0.102 92.4);
Tailwind
colors: {
  custom: {
    50: '#c9b57e',
    500: '#af9749',
    950: '#000000',
  },
}
SCSS
$custom: #af9749;
$custom-light: #c9b57e;
$custom-dark: #000000;
JSON
{
  "hex": "#af9749",
  "rgb": {
    "r": 175,
    "g": 151,
    "b": 73
  },
  "hsl": {
    "h": 45.882,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.68185,
    "c": 0.10194,
    "h": 92.4
  },
  "luminance": 0.31728
}

Semantic roles & 50–950 ramp

primary
#AF9749
secondary
#919DC2
accent
#74D157
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14110A
muted
#82807C

Preview Lab

Preview with #AF9749

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

Preview Lab → · Contrast checker → · Palette generator →

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