#AF993B#AF993B

#AF993B is a light, moderate yellow. Relative luminance 0.322; OKLCH L 68.5% C 0.115 H 96.0°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#AF993B
RGBrgb(175, 153, 59)
HSLhsl(49, 50%, 46%)
HSVhsv(49, 66%, 69%)
CMYKcmyk(0%, 12.6%, 66.3%, 31.4%)
CIE-LABlab(63.52, -2.85, 50.69)
CIE-LCHlch(63.52, 50.77, 93.22°)
OKLaboklab(68.46% -0.012 0.1148)
OKLCHoklch(68.46% 0.115 96)
XYZxyz(29.8612, 32.2137, 8.7818)
Luminance0.3221 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF993B #3B51AF
analogous
#AF5F3B #AF993B #8BAF3B
triadic
#AF993B #3BAF99 #993BAF
tetradic
#AF993B #3BAF5F #3B51AF #AF3B8B
square
#AF993B #3BAF5F #3B51AF #AF3B8B
split-complementary
#AF993B #3B8BAF #5F3BAF
monochromatic
#53491C #81712C #AF993B #C9B55E #D8CA8C

Accessibility & contrast

On white

2.82
#AF993B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#AF993B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF993B
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF993B#FFFFFF#000000##000000
##AF993B1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89630
Deuteranopia (green-blind)
#AE9D40
Tritanopia (blue-blind)
#BD8E85
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #af993b;
/* rgb */ color: rgb(175, 153, 59);
/* oklch */ color: oklch(68.5% 0.115 96.0);
Tailwind
colors: {
  custom: {
    50: '#cab676',
    500: '#af993b',
    950: '#000000',
  },
}
SCSS
$custom: #af993b;
$custom-light: #cab676;
$custom-dark: #000000;
JSON
{
  "hex": "#af993b",
  "rgb": {
    "r": 175,
    "g": 153,
    "b": 59
  },
  "hsl": {
    "h": 48.621,
    "s": 49.573,
    "l": 45.882
  },
  "oklch": {
    "l": 0.68458,
    "c": 0.11547,
    "h": 96
  },
  "luminance": 0.32212
}

Semantic roles & 50–950 ramp

primary
#AF993B
secondary
#838FC3
accent
#69D94F
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141109
muted
#82807B

Preview Lab

Preview with #AF993B

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

Preview Lab → · Contrast checker → · Palette generator →

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