#AF9954#AF9954

#AF9954 is a light, moderate yellow. Relative luminance 0.325; OKLCH L 68.8% C 0.093 H 92.1°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#AF9954
RGBrgb(175, 153, 84)
HSLhsl(45, 36%, 51%)
HSVhsv(45, 52%, 69%)
CMYKcmyk(0%, 12.6%, 52%, 31.4%)
CIE-LABlab(63.78, -0.95, 38.95)
CIE-LCHlch(63.78, 38.96, 91.39°)
OKLaboklab(68.75% -0.0035 0.0926)
OKLCHoklch(68.75% 0.093 92.1)
XYZxyz(30.6718, 32.5379, 13.0506)
Luminance0.3254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9954 #546AAF
analogous
#AF6B54 #AF9954 #97AF54
triadic
#AF9954 #54AF99 #9954AF
tetradic
#AF9954 #54AF6B #546AAF #AF5497
square
#AF9954 #54AF6B #546AAF #AF5497
split-complementary
#AF9954 #5497AF #6B54AF
monochromatic
#5D512C #87753F #AF9954 #C3B27E #D6CBA7

Accessibility & contrast

On white

2.80
#AF9954 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#AF9954 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9954
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9954#FFFFFF#000000##000000
##AF99541.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6974E
Deuteranopia (green-blind)
#AC9D57
Tritanopia (blue-blind)
#BB8F89
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #af9954;
/* rgb */ color: rgb(175, 153, 84);
/* oklch */ color: oklch(68.8% 0.093 92.1);
Tailwind
colors: {
  custom: {
    50: '#c9b686',
    500: '#af9954',
    950: '#000000',
  },
}
SCSS
$custom: #af9954;
$custom-light: #c9b686;
$custom-dark: #000000;
JSON
{
  "hex": "#af9954",
  "rgb": {
    "r": 175,
    "g": 153,
    "b": 84
  },
  "hsl": {
    "h": 45.495,
    "s": 36.255,
    "l": 50.784
  },
  "oklch": {
    "l": 0.68754,
    "c": 0.0927,
    "h": 92.1
  },
  "luminance": 0.32537
}

Semantic roles & 50–950 ramp

primary
#AF9954
secondary
#9BA5C4
accent
#77CC5C
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13110B
muted
#82807C

Preview Lab

Preview with #AF9954

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

Preview Lab → · Contrast checker → · Palette generator →

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