#AFB080#AFB080

#AFB080 is a light, moderate yellow. Relative luminance 0.417; OKLCH L 74.4% C 0.065 H 108.9°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#AFB080
RGBrgb(175, 176, 128)
HSLhsl(61, 23%, 60%)
HSVhsv(61, 27%, 69%)
CMYKcmyk(0.6%, 0%, 27.3%, 31%)
CIE-LABlab(70.68, -8.21, 24.55)
CIE-LCHlch(70.68, 25.89, 108.48°)
OKLaboklab(74.43% -0.0211 0.0617)
OKLCHoklch(74.43% 0.065 108.9)
XYZxyz(37.1008, 41.7237, 26.5169)
Luminance0.4172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB080 #8180B0
analogous
#B09980 #AFB080 #97B080
triadic
#AFB080 #80AFB0 #B080AF
tetradic
#AFB080 #80B099 #8180B0 #B08097
square
#AFB080 #80B099 #8180B0 #B08097
split-complementary
#AFB080 #8097B0 #9980B0
monochromatic
#6F7046 #95965D #AFB080 #C7C7A6 #DFDFCB

Accessibility & contrast

On white

2.25
#AFB080 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#AFB080 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB080
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB080#FFFFFF#000000##000000
##AFB0801.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8AC7D
Deuteranopia (green-blind)
#B8AE82
Tritanopia (blue-blind)
#B6AAA3
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #afb080;
/* rgb */ color: rgb(175, 176, 128);
/* oklch */ color: oklch(74.4% 0.065 108.9);
Tailwind
colors: {
  custom: {
    50: '#c7c7a5',
    500: '#afb080',
    950: '#000000',
  },
}
SCSS
$custom: #afb080;
$custom-light: #c7c7a5;
$custom-dark: #000000;
JSON
{
  "hex": "#afb080",
  "rgb": {
    "r": 175,
    "g": 176,
    "b": 128
  },
  "hsl": {
    "h": 61.25,
    "s": 23.301,
    "l": 59.608
  },
  "oklch": {
    "l": 0.74434,
    "c": 0.0652,
    "h": 108.9
  },
  "luminance": 0.41723
}

Semantic roles & 50–950 ramp

primary
#AFB080
secondary
#BDBDCF
accent
#68C06A
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#13130F
muted
#82827F

Preview Lab

Preview with #AFB080

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

Preview Lab → · Contrast checker → · Palette generator →

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