#AFB176#AFB176

#AFB176 is a light, moderate yellow. Relative luminance 0.419; OKLCH L 74.5% C 0.079 H 109.8°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#AFB176
RGBrgb(175, 177, 118)
HSLhsl(62, 27%, 58%)
HSVhsv(62, 33%, 69%)
CMYKcmyk(1.1%, 0%, 33.3%, 30.6%)
CIE-LABlab(70.78, -10.05, 30.02)
CIE-LCHlch(70.78, 31.65, 108.51°)
OKLaboklab(74.46% -0.0268 0.0743)
OKLCHoklch(74.46% 0.079 109.8)
XYZxyz(36.6716, 41.8668, 23.2853)
Luminance0.4187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB176 #7876B1
analogous
#B19576 #AFB176 #91B176
triadic
#AFB176 #76AFB1 #B176AF
tetradic
#AFB176 #76B195 #7876B1 #B17691
square
#AFB176 #76B195 #7876B1 #B17691
split-complementary
#AFB176 #7691B1 #9576B1
monochromatic
#6C6E3F #939555 #AFB176 #C6C79D #DDDDC4

Accessibility & contrast

On white

2.24
#AFB176 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#AFB176 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB176
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB176#FFFFFF#000000##000000
##AFB1761.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAAC72
Deuteranopia (green-blind)
#BBAE78
Tritanopia (blue-blind)
#B7AAA2
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #afb176;
/* rgb */ color: rgb(175, 177, 118);
/* oklch */ color: oklch(74.5% 0.079 109.8);
Tailwind
colors: {
  custom: {
    50: '#c7c89e',
    500: '#afb176',
    950: '#000000',
  },
}
SCSS
$custom: #afb176;
$custom-light: #c7c89e;
$custom-dark: #000000;
JSON
{
  "hex": "#afb176",
  "rgb": {
    "r": 175,
    "g": 177,
    "b": 118
  },
  "hsl": {
    "h": 62.034,
    "s": 27.442,
    "l": 57.843
  },
  "oklch": {
    "l": 0.74456,
    "c": 0.07901,
    "h": 109.8
  },
  "luminance": 0.41866
}

Semantic roles & 50–950 ramp

primary
#AFB176
secondary
#B6B6CD
accent
#64C467
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13130E
muted
#82827E

Preview Lab

Preview with #AFB176

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

Preview Lab → · Contrast checker → · Palette generator →

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