#AF9B45#AF9B45

#AF9B45 is a light, moderate yellow. Relative luminance 0.330; OKLCH L 69.0% C 0.109 H 96.3°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#AF9B45
RGBrgb(175, 155, 69)
HSLhsl(49, 43%, 48%)
HSVhsv(49, 61%, 69%)
CMYKcmyk(0%, 11.4%, 60.6%, 31.4%)
CIE-LABlab(64.15, -3.25, 46.79)
CIE-LCHlch(64.15, 46.91, 93.98°)
OKLaboklab(68.99% -0.0119 0.108)
OKLCHoklch(68.99% 0.109 96.3)
XYZxyz(30.4760, 32.9877, 10.3911)
Luminance0.3299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9B45 #4559AF
analogous
#AF6645 #AF9B45 #8EAF45
triadic
#AF9B45 #45AF9B #9B45AF
tetradic
#AF9B45 #45AF66 #4559AF #AF458E
square
#AF9B45 #45AF66 #4559AF #AF458E
split-complementary
#AF9B45 #458EAF #6645AF
monochromatic
#574D22 #837434 #AF9B45 #C5B46C #D6CB98

Accessibility & contrast

On white

2.76
#AF9B45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#AF9B45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9B45
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9B45#FFFFFF#000000##000000
##AF9B451.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9983C
Deuteranopia (green-blind)
#AF9E49
Tritanopia (blue-blind)
#BC9088
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #af9b45;
/* rgb */ color: rgb(175, 155, 69);
/* oklch */ color: oklch(69.0% 0.109 96.3);
Tailwind
colors: {
  custom: {
    50: '#cab87c',
    500: '#af9b45',
    950: '#000000',
  },
}
SCSS
$custom: #af9b45;
$custom-light: #cab87c;
$custom-dark: #000000;
JSON
{
  "hex": "#af9b45",
  "rgb": {
    "r": 175,
    "g": 155,
    "b": 69
  },
  "hsl": {
    "h": 48.679,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.68988,
    "c": 0.10868,
    "h": 96.3
  },
  "luminance": 0.32986
}

Semantic roles & 50–950 ramp

primary
#AF9B45
secondary
#8D97C2
accent
#6CD355
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14110A
muted
#82807C

Preview Lab

Preview with #AF9B45

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

Preview Lab → · Contrast checker → · Palette generator →

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