#AF9945#AF9945

#AF9945 is a light, moderate yellow. Relative luminance 0.323; OKLCH L 68.6% C 0.107 H 94.7°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#AF9945
RGBrgb(175, 153, 69)
HSLhsl(48, 43%, 48%)
HSVhsv(48, 61%, 69%)
CMYKcmyk(0%, 12.6%, 60.6%, 31.4%)
CIE-LABlab(63.61, -2.17, 46.19)
CIE-LCHlch(63.61, 46.24, 92.70°)
OKLaboklab(68.56% -0.0088 0.1067)
OKLCHoklch(68.56% 0.107 94.7)
XYZxyz(30.1459, 32.3276, 10.2810)
Luminance0.3233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9945 #455BAF
analogous
#AF6445 #AF9945 #90AF45
triadic
#AF9945 #45AF99 #9945AF
tetradic
#AF9945 #45AF64 #455BAF #AF4590
square
#AF9945 #45AF64 #455BAF #AF4590
split-complementary
#AF9945 #4590AF #6445AF
monochromatic
#574C22 #837334 #AF9945 #C5B36C #D6C998

Accessibility & contrast

On white

2.81
#AF9945 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#AF9945 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9945
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9945#FFFFFF#000000##000000
##AF99451.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7963C
Deuteranopia (green-blind)
#AD9D49
Tritanopia (blue-blind)
#BC8E87
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #af9945;
/* rgb */ color: rgb(175, 153, 69);
/* oklch */ color: oklch(68.6% 0.107 94.7);
Tailwind
colors: {
  custom: {
    50: '#cab67c',
    500: '#af9945',
    950: '#000000',
  },
}
SCSS
$custom: #af9945;
$custom-light: #cab67c;
$custom-dark: #000000;
JSON
{
  "hex": "#af9945",
  "rgb": {
    "r": 175,
    "g": 153,
    "b": 69
  },
  "hsl": {
    "h": 47.547,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.68562,
    "c": 0.1071,
    "h": 94.7
  },
  "luminance": 0.32326
}

Semantic roles & 50–950 ramp

primary
#AF9945
secondary
#8D98C2
accent
#6FD355
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14110A
muted
#82807C

Preview Lab

Preview with #AF9945

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

Preview Lab → · Contrast checker → · Palette generator →

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