#AFB671#AFB671

#AFB671 is a light, moderate yellow. Relative luminance 0.438; OKLCH L 75.5% C 0.092 H 113.3°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#AFB671
RGBrgb(175, 182, 113)
HSLhsl(66, 32%, 58%)
HSVhsv(66, 38%, 71%)
CMYKcmyk(3.8%, 0%, 37.9%, 28.6%)
CIE-LABlab(72.07, -13.26, 34.31)
CIE-LCHlch(72.07, 36.78, 111.12°)
OKLaboklab(75.46% -0.0362 0.0841)
OKLCHoklch(75.46% 0.092 113.3)
XYZxyz(37.3880, 43.7626, 22.0970)
Luminance0.4376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB671 #7871B6
analogous
#B69A71 #AFB671 #8CB671
triadic
#AFB671 #71AFB6 #B671AF
tetradic
#AFB671 #71B69A #7871B6 #B6718C
square
#AFB671 #71B69A #7871B6 #B6718C
split-complementary
#AFB671 #718CB6 #9A71B6
monochromatic
#6C723B #939A4F #AFB671 #C6CB99 #DDE0C2

Accessibility & contrast

On white

2.15
#AFB671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#AFB671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB671
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB671#FFFFFF#000000##000000
##AFB6711.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFB06C
Deuteranopia (green-blind)
#BFB274
Tritanopia (blue-blind)
#B7AFA5
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #afb671;
/* rgb */ color: rgb(175, 182, 113);
/* oklch */ color: oklch(75.5% 0.092 113.3);
Tailwind
colors: {
  custom: {
    50: '#c8cb9b',
    500: '#afb671',
    950: '#000000',
  },
}
SCSS
$custom: #afb671;
$custom-light: #c8cb9b;
$custom-dark: #000000;
JSON
{
  "hex": "#afb671",
  "rgb": {
    "r": 175,
    "g": 182,
    "b": 113
  },
  "hsl": {
    "h": 66.087,
    "s": 32.093,
    "l": 57.843
  },
  "oklch": {
    "l": 0.75456,
    "c": 0.09154,
    "h": 113.3
  },
  "luminance": 0.43762
}

Semantic roles & 50–950 ramp

primary
#AFB671
secondary
#B6B4CF
accent
#60C86A
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13130E
muted
#82827E

Preview Lab

Preview with #AFB671

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

Preview Lab → · Contrast checker → · Palette generator →

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