#AF9B3D#AF9B3D

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

Color values

HEX#AF9B3D
RGBrgb(175, 155, 61)
HSLhsl(49, 48%, 46%)
HSVhsv(49, 65%, 69%)
CMYKcmyk(0%, 11.4%, 65.1%, 31.4%)
CIE-LABlab(64.08, -3.80, 50.39)
CIE-LCHlch(64.08, 50.54, 94.31°)
OKLaboklab(68.9% -0.0145 0.1145)
OKLCHoklch(68.9% 0.115 97.2)
XYZxyz(30.2442, 32.8950, 9.1703)
Luminance0.3289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9B3D #3D51AF
analogous
#AF623D #AF9B3D #8AAF3D
triadic
#AF9B3D #3DAF9B #9B3DAF
tetradic
#AF9B3D #3DAF62 #3D51AF #AF3D8A
square
#AF9B3D #3DAF62 #3D51AF #AF3D8A
split-complementary
#AF9B3D #3D8AAF #623DAF
monochromatic
#544B1D #82732D #AF9B3D #C8B661 #D8CB8F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF9B3D#FFFFFF#000000##000000
##AF9B3D1.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)
#AA9732
Deuteranopia (green-blind)
#AF9E42
Tritanopia (blue-blind)
#BC9087
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #af9b3d;
/* rgb */ color: rgb(175, 155, 61);
/* oklch */ color: oklch(68.9% 0.115 97.2);
Tailwind
colors: {
  custom: {
    50: '#cab877',
    500: '#af9b3d',
    950: '#000000',
  },
}
SCSS
$custom: #af9b3d;
$custom-light: #cab877;
$custom-dark: #000000;
JSON
{
  "hex": "#af9b3d",
  "rgb": {
    "r": 175,
    "g": 155,
    "b": 61
  },
  "hsl": {
    "h": 49.474,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.68904,
    "c": 0.11544,
    "h": 97.2
  },
  "luminance": 0.32894
}

Semantic roles & 50–950 ramp

primary
#AF9B3D
secondary
#8590C3
accent
#68D850
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141109
muted
#82807B

Preview Lab

Preview with #AF9B3D

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

Preview Lab → · Contrast checker → · Palette generator →

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