#AFB397#AFB397

#AFB397 is a light, muted yellow. Relative luminance 0.436; OKLCH L 75.6% C 0.039 H 113.9°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#AFB397
RGBrgb(175, 179, 151)
HSLhsl(69, 16%, 65%)
HSVhsv(69, 16%, 70%)
CMYKcmyk(2.2%, 0%, 15.6%, 29.8%)
CIE-LABlab(71.95, -6.34, 13.85)
CIE-LCHlch(71.95, 15.23, 114.61°)
OKLaboklab(75.59% -0.0158 0.0357)
OKLCHoklch(75.59% 0.039 113.9)
XYZxyz(39.3846, 43.5887, 35.6108)
Luminance0.4359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB397 #9B97B3
analogous
#B3A997 #AFB397 #A1B397
triadic
#AFB397 #97AFB3 #B397AF
tetradic
#AFB397 #97B3A9 #9B97B3 #B397A1
square
#AFB397 #97B3A9 #9B97B3 #B397A1
split-complementary
#AFB397 #97A1B3 #A997B3
monochromatic
#737858 #949974 #AFB397 #CACDBA #E5E7DE

Accessibility & contrast

On white

2.16
#AFB397 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#AFB397 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB397
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB397#FFFFFF#000000##000000
##AFB3971.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7B095
Deuteranopia (green-blind)
#B7B198
Tritanopia (blue-blind)
#B3B0AB
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #afb397;
/* rgb */ color: rgb(175, 179, 151);
/* oklch */ color: oklch(75.6% 0.039 113.9);
Tailwind
colors: {
  custom: {
    50: '#c7c9b5',
    500: '#afb397',
    950: '#000000',
  },
}
SCSS
$custom: #afb397;
$custom-light: #c7c9b5;
$custom-dark: #000000;
JSON
{
  "hex": "#afb397",
  "rgb": {
    "r": 175,
    "g": 179,
    "b": 151
  },
  "hsl": {
    "h": 68.571,
    "s": 15.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.75593,
    "c": 0.03905,
    "h": 113.9
  },
  "luminance": 0.43589
}

Semantic roles & 50–950 ramp

primary
#AFB397
secondary
#CFCED8
accent
#4C9A57
background
#FCFCFB
surface
#F8F8F6
border
#D1D1D0
text
#131311
muted
#828280

Preview Lab

Preview with #AFB397

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

Preview Lab → · Contrast checker → · Palette generator →

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