#AF9748#AF9748

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

Color values

HEX#AF9748
RGBrgb(175, 151, 72)
HSLhsl(46, 42%, 48%)
HSVhsv(46, 59%, 69%)
CMYKcmyk(0%, 13.7%, 58.9%, 31.4%)
CIE-LABlab(63.11, -0.86, 44.17)
CIE-LCHlch(63.11, 44.18, 91.12°)
OKLaboklab(68.17% -0.0047 0.1028)
OKLCHoklch(68.17% 0.103 92.6)
XYZxyz(29.9168, 31.7165, 10.6757)
Luminance0.3171 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9748 #4860AF
analogous
#AF6348 #AF9748 #93AF48
triadic
#AF9748 #48AF97 #9748AF
tetradic
#AF9748 #48AF63 #4860AF #AF4893
square
#AF9748 #48AF63 #4860AF #AF4893
split-complementary
#AF9748 #4893AF #6348AF
monochromatic
#584C24 #847236 #AF9748 #C4B170 #D6C89B

Accessibility & contrast

On white

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

On black

7.34
#AF9748 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9748
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9748#FFFFFF#000000##000000
##AF97481.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af9748;
/* rgb */ color: rgb(175, 151, 72);
/* oklch */ color: oklch(68.2% 0.103 92.6);
Tailwind
colors: {
  custom: {
    50: '#c9b57e',
    500: '#af9748',
    950: '#000000',
  },
}
SCSS
$custom: #af9748;
$custom-light: #c9b57e;
$custom-dark: #000000;
JSON
{
  "hex": "#af9748",
  "rgb": {
    "r": 175,
    "g": 151,
    "b": 72
  },
  "hsl": {
    "h": 46.019,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.68173,
    "c": 0.10287,
    "h": 92.6
  },
  "luminance": 0.31715
}

Semantic roles & 50–950 ramp

primary
#AF9748
secondary
#909CC2
accent
#73D256
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14110A
muted
#82807C

Preview Lab

Preview with #AF9748

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

Preview Lab → · Contrast checker → · Palette generator →

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