#AF963B#AF963B

#AF963B is a light, moderate yellow. Relative luminance 0.312; OKLCH L 67.8% C 0.113 H 93.7°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#AF963B
RGBrgb(175, 150, 59)
HSLhsl(47, 50%, 46%)
HSVhsv(47, 66%, 69%)
CMYKcmyk(0%, 14.3%, 66.3%, 31.4%)
CIE-LABlab(62.71, -1.22, 49.83)
CIE-LCHlch(62.71, 49.85, 91.41°)
OKLaboklab(67.82% -0.0073 0.113)
OKLCHoklch(67.82% 0.113 93.7)
XYZxyz(29.3764, 31.2440, 8.6202)
Luminance0.3124 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF963B #3B54AF
analogous
#AF5C3B #AF963B #8EAF3B
triadic
#AF963B #3BAF96 #963BAF
tetradic
#AF963B #3BAF5C #3B54AF #AF3B8E
square
#AF963B #3BAF5C #3B54AF #AF3B8E
split-complementary
#AF963B #3B8EAF #5C3BAF
monochromatic
#53481C #816F2C #AF963B #C9B25E #D8C88C

Accessibility & contrast

On white

2.90
#AF963B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#AF963B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF963B
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF963B#FFFFFF#000000##000000
##AF963B1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59330
Deuteranopia (green-blind)
#AC9B3F
Tritanopia (blue-blind)
#BD8B83
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #af963b;
/* rgb */ color: rgb(175, 150, 59);
/* oklch */ color: oklch(67.8% 0.113 93.7);
Tailwind
colors: {
  custom: {
    50: '#cab475',
    500: '#af963b',
    950: '#000000',
  },
}
SCSS
$custom: #af963b;
$custom-light: #cab475;
$custom-dark: #000000;
JSON
{
  "hex": "#af963b",
  "rgb": {
    "r": 175,
    "g": 150,
    "b": 59
  },
  "hsl": {
    "h": 47.069,
    "s": 49.573,
    "l": 45.882
  },
  "oklch": {
    "l": 0.6782,
    "c": 0.11326,
    "h": 93.7
  },
  "luminance": 0.31242
}

Semantic roles & 50–950 ramp

primary
#AF963B
secondary
#8391C3
accent
#6DD94F
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141109
muted
#82807B

Preview Lab

Preview with #AF963B

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

Preview Lab → · Contrast checker → · Palette generator →

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