#AF993D#AF993D

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

Color values

HEX#AF993D
RGBrgb(175, 153, 61)
HSLhsl(48, 48%, 46%)
HSVhsv(48, 65%, 69%)
CMYKcmyk(0%, 12.6%, 65.1%, 31.4%)
CIE-LABlab(63.54, -2.72, 49.82)
CIE-LCHlch(63.54, 49.89, 93.13°)
OKLaboklab(68.48% -0.0114 0.1133)
OKLCHoklch(68.48% 0.114 95.7)
XYZxyz(29.9141, 32.2348, 9.0603)
Luminance0.3223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF993D #3D53AF
analogous
#AF603D #AF993D #8CAF3D
triadic
#AF993D #3DAF99 #993DAF
tetradic
#AF993D #3DAF60 #3D53AF #AF3D8C
square
#AF993D #3DAF60 #3D53AF #AF3D8C
split-complementary
#AF993D #3D8CAF #603DAF
monochromatic
#544A1D #82712D #AF993D #C8B461 #D8CA8F

Accessibility & contrast

On white

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

On black

7.45
#AF993D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF993D
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF993D#FFFFFF#000000##000000
##AF993D1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89632
Deuteranopia (green-blind)
#AE9D42
Tritanopia (blue-blind)
#BC8E85
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #af993d;
/* rgb */ color: rgb(175, 153, 61);
/* oklch */ color: oklch(68.5% 0.114 95.7);
Tailwind
colors: {
  custom: {
    50: '#cab677',
    500: '#af993d',
    950: '#000000',
  },
}
SCSS
$custom: #af993d;
$custom-light: #cab677;
$custom-dark: #000000;
JSON
{
  "hex": "#af993d",
  "rgb": {
    "r": 175,
    "g": 153,
    "b": 61
  },
  "hsl": {
    "h": 48.421,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.68477,
    "c": 0.11387,
    "h": 95.7
  },
  "luminance": 0.32233
}

Semantic roles & 50–950 ramp

primary
#AF993D
secondary
#8591C3
accent
#6AD850
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141109
muted
#82807B

Preview Lab

Preview with #AF993D

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

Preview Lab → · Contrast checker → · Palette generator →

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