#AF9B3F#AF9B3F

#AF9B3F is a light, moderate yellow. Relative luminance 0.329; OKLCH L 68.9% C 0.114 H 97.0°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#AF9B3F
RGBrgb(175, 155, 63)
HSLhsl(49, 47%, 47%)
HSVhsv(49, 64%, 69%)
CMYKcmyk(0%, 11.4%, 64%, 31.4%)
CIE-LABlab(64.09, -3.67, 49.51)
CIE-LCHlch(64.09, 49.65, 94.24°)
OKLaboklab(68.92% -0.0139 0.113)
OKLCHoklch(68.92% 0.114 97)
XYZxyz(30.2991, 32.9170, 9.4593)
Luminance0.3292 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9B3F #3F53AF
analogous
#AF633F #AF9B3F #8BAF3F
triadic
#AF9B3F #3FAF9B #9B3FAF
tetradic
#AF9B3F #3FAF63 #3F53AF #AF3F8B
square
#AF9B3F #3FAF63 #3F53AF #AF3F8B
split-complementary
#AF9B3F #3F8BAF #633FAF
monochromatic
#554B1F #82732F #AF9B3F #C7B564 #D7CB91

Accessibility & contrast

On white

2.77
#AF9B3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#AF9B3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9B3F
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9B3F#FFFFFF#000000##000000
##AF9B3F1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9834
Deuteranopia (green-blind)
#AF9E44
Tritanopia (blue-blind)
#BC9087
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #af9b3f;
/* rgb */ color: rgb(175, 155, 63);
/* oklch */ color: oklch(68.9% 0.114 97.0);
Tailwind
colors: {
  custom: {
    50: '#cab878',
    500: '#af9b3f',
    950: '#000000',
  },
}
SCSS
$custom: #af9b3f;
$custom-light: #cab878;
$custom-dark: #000000;
JSON
{
  "hex": "#af9b3f",
  "rgb": {
    "r": 175,
    "g": 155,
    "b": 63
  },
  "hsl": {
    "h": 49.286,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.68924,
    "c": 0.11382,
    "h": 97
  },
  "luminance": 0.32916
}

Semantic roles & 50–950 ramp

primary
#AF9B3F
secondary
#8792C3
accent
#69D751
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141109
muted
#82807B

Preview Lab

Preview with #AF9B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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