#AF993A#AF993A

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

Color values

HEX#AF993A
RGBrgb(175, 153, 58)
HSLhsl(49, 50%, 46%)
HSVhsv(49, 67%, 69%)
CMYKcmyk(0%, 12.6%, 66.9%, 31.4%)
CIE-LABlab(63.51, -2.91, 51.12)
CIE-LCHlch(63.51, 51.20, 93.26°)
OKLaboklab(68.45% -0.0123 0.1156)
OKLCHoklch(68.45% 0.116 96.1)
XYZxyz(29.8355, 32.2034, 8.6465)
Luminance0.3220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF993A #3A50AF
analogous
#AF5E3A #AF993A #8AAF3A
triadic
#AF993A #3AAF99 #993AAF
tetradic
#AF993A #3AAF5E #3A50AF #AF3A8A
square
#AF993A #3AAF5E #3A50AF #AF3A8A
split-complementary
#AF993A #3A8AAF #5E3AAF
monochromatic
#53491C #81712B #AF993A #C9B55D #D9CA8B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF993A#FFFFFF#000000##000000
##AF993A1.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)
#A8962E
Deuteranopia (green-blind)
#AE9D3F
Tritanopia (blue-blind)
#BD8E85
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #af993a;
/* rgb */ color: rgb(175, 153, 58);
/* oklch */ color: oklch(68.4% 0.116 96.1);
Tailwind
colors: {
  custom: {
    50: '#cab675',
    500: '#af993a',
    950: '#000000',
  },
}
SCSS
$custom: #af993a;
$custom-light: #cab675;
$custom-dark: #000000;
JSON
{
  "hex": "#af993a",
  "rgb": {
    "r": 175,
    "g": 153,
    "b": 58
  },
  "hsl": {
    "h": 48.718,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.68448,
    "c": 0.11624,
    "h": 96.1
  },
  "luminance": 0.32202
}

Semantic roles & 50–950 ramp

primary
#AF993A
secondary
#828EC3
accent
#68DA4E
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141109
muted
#82807B

Preview Lab

Preview with #AF993A

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

Preview Lab → · Contrast checker → · Palette generator →

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