#AF9745#AF9745

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

Color values

HEX#AF9745
RGBrgb(175, 151, 69)
HSLhsl(46, 43%, 48%)
HSVhsv(46, 61%, 69%)
CMYKcmyk(0%, 13.7%, 60.6%, 31.4%)
CIE-LABlab(63.08, -1.09, 45.59)
CIE-LCHlch(63.08, 45.60, 91.37°)
OKLaboklab(68.14% -0.0057 0.1054)
OKLCHoklch(68.14% 0.106 93.1)
XYZxyz(29.8213, 31.6783, 10.1728)
Luminance0.3168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9745 #455DAF
analogous
#AF6245 #AF9745 #92AF45
triadic
#AF9745 #45AF97 #9745AF
tetradic
#AF9745 #45AF62 #455DAF #AF4592
square
#AF9745 #45AF62 #455DAF #AF4592
split-complementary
#AF9745 #4592AF #6245AF
monochromatic
#574B22 #837134 #AF9745 #C5B16C #D6C898

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF9745#FFFFFF#000000##000000
##AF97451.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)
#A6943D
Deuteranopia (green-blind)
#AC9C49
Tritanopia (blue-blind)
#BC8C85
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #af9745;
/* rgb */ color: rgb(175, 151, 69);
/* oklch */ color: oklch(68.1% 0.106 93.1);
Tailwind
colors: {
  custom: {
    50: '#cab57c',
    500: '#af9745',
    950: '#000000',
  },
}
SCSS
$custom: #af9745;
$custom-light: #cab57c;
$custom-dark: #000000;
JSON
{
  "hex": "#af9745",
  "rgb": {
    "r": 175,
    "g": 151,
    "b": 69
  },
  "hsl": {
    "h": 46.415,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.68138,
    "c": 0.10558,
    "h": 93.1
  },
  "luminance": 0.31677
}

Semantic roles & 50–950 ramp

primary
#AF9745
secondary
#8D99C2
accent
#71D355
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14110A
muted
#82807C

Preview Lab

Preview with #AF9745

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

Preview Lab → · Contrast checker → · Palette generator →

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