#AF9D45#AF9D45

#AF9D45 is a light, moderate yellow. Relative luminance 0.337; OKLCH L 69.4% C 0.110 H 97.8°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#AF9D45
RGBrgb(175, 157, 69)
HSLhsl(50, 43%, 48%)
HSVhsv(50, 61%, 69%)
CMYKcmyk(0%, 10.3%, 60.6%, 31.4%)
CIE-LABlab(64.69, -4.33, 47.40)
CIE-LCHlch(64.69, 47.60, 95.22°)
OKLaboklab(69.42% -0.015 0.1093)
OKLCHoklch(69.42% 0.11 97.8)
XYZxyz(30.8116, 33.6589, 10.5029)
Luminance0.3366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9D45 #4557AF
analogous
#AF6845 #AF9D45 #8CAF45
triadic
#AF9D45 #45AF9D #9D45AF
tetradic
#AF9D45 #45AF68 #4557AF #AF458C
square
#AF9D45 #45AF68 #4557AF #AF458C
split-complementary
#AF9D45 #458CAF #6845AF
monochromatic
#574E22 #837634 #AF9D45 #C5B66C #D6CC98

Accessibility & contrast

On white

2.72
#AF9D45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#AF9D45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9D45
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9D45#FFFFFF#000000##000000
##AF9D451.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB993C
Deuteranopia (green-blind)
#B0A049
Tritanopia (blue-blind)
#BC928A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #af9d45;
/* rgb */ color: rgb(175, 157, 69);
/* oklch */ color: oklch(69.4% 0.110 97.8);
Tailwind
colors: {
  custom: {
    50: '#cab97c',
    500: '#af9d45',
    950: '#000000',
  },
}
SCSS
$custom: #af9d45;
$custom-light: #cab97c;
$custom-dark: #000000;
JSON
{
  "hex": "#af9d45",
  "rgb": {
    "r": 175,
    "g": 157,
    "b": 69
  },
  "hsl": {
    "h": 49.811,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.69415,
    "c": 0.11034,
    "h": 97.8
  },
  "luminance": 0.33658
}

Semantic roles & 50–950 ramp

primary
#AF9D45
secondary
#8D96C2
accent
#6AD355
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14110A
muted
#82807C

Preview Lab

Preview with #AF9D45

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

Preview Lab → · Contrast checker → · Palette generator →

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