#AF9B4E#AF9B4E

#AF9B4E is a light, moderate yellow. Relative luminance 0.331; OKLCH L 69.1% C 0.100 H 95.1°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#AF9B4E
RGBrgb(175, 155, 78)
HSLhsl(48, 38%, 50%)
HSVhsv(48, 55%, 69%)
CMYKcmyk(0%, 11.4%, 55.4%, 31.4%)
CIE-LABlab(64.25, -2.55, 42.53)
CIE-LCHlch(64.25, 42.61, 93.43°)
OKLaboklab(69.1% -0.0088 0.0999)
OKLCHoklch(69.1% 0.1 95.1)
XYZxyz(30.7768, 33.1081, 11.9756)
Luminance0.3311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9B4E #4E62AF
analogous
#AF6B4E #AF9B4E #93AF4E
triadic
#AF9B4E #4EAF9B #9B4EAF
tetradic
#AF9B4E #4EAF6B #4E62AF #AF4E93
square
#AF9B4E #4EAF6B #4E62AF #AF4E93
split-complementary
#AF9B4E #4E93AF #6B4EAF
monochromatic
#5A5028 #85763B #AF9B4E #C3B378 #D6CBA2

Accessibility & contrast

On white

2.76
#AF9B4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#AF9B4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9B4E
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9B4E#FFFFFF#000000##000000
##AF9B4E1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99847
Deuteranopia (green-blind)
#AE9E51
Tritanopia (blue-blind)
#BB9189
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #af9b4e;
/* rgb */ color: rgb(175, 155, 78);
/* oklch */ color: oklch(69.1% 0.100 95.1);
Tailwind
colors: {
  custom: {
    50: '#c9b882',
    500: '#af9b4e',
    950: '#000000',
  },
}
SCSS
$custom: #af9b4e;
$custom-light: #c9b882;
$custom-dark: #000000;
JSON
{
  "hex": "#af9b4e",
  "rgb": {
    "r": 175,
    "g": 155,
    "b": 78
  },
  "hsl": {
    "h": 47.629,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.69096,
    "c": 0.1003,
    "h": 95.1
  },
  "luminance": 0.33107
}

Semantic roles & 50–950 ramp

primary
#AF9B4E
secondary
#969FC3
accent
#72CE5A
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13110A
muted
#82807C

Preview Lab

Preview with #AF9B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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