#AFB476#AFB476

#AFB476 is a light, moderate yellow. Relative luminance 0.431; OKLCH L 75.1% C 0.083 H 112.1°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#AFB476
RGBrgb(175, 180, 118)
HSLhsl(65, 29%, 58%)
HSVhsv(65, 34%, 71%)
CMYKcmyk(2.8%, 0%, 34.4%, 29.4%)
CIE-LABlab(71.60, -11.61, 31.09)
CIE-LCHlch(71.60, 33.19, 110.48°)
OKLaboklab(75.11% -0.0312 0.0768)
OKLCHoklch(75.11% 0.083 112.1)
XYZxyz(37.2707, 43.0650, 23.4850)
Luminance0.4306 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB476 #7B76B4
analogous
#B49A76 #AFB476 #90B476
triadic
#AFB476 #76AFB4 #B476AF
tetradic
#AFB476 #76B49A #7B76B4 #B47690
square
#AFB476 #76B49A #7B76B4 #B47690
split-complementary
#AFB476 #7690B4 #9A76B4
monochromatic
#6D713E #939954 #AFB476 #C6CA9E #DDDFC5

Accessibility & contrast

On white

2.18
#AFB476 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#AFB476 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB476
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB476#FFFFFF#000000##000000
##AFB4761.002.189.619.61
#FFFFFF2.181.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAE72
Deuteranopia (green-blind)
#BDB079
Tritanopia (blue-blind)
#B7ADA4
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #afb476;
/* rgb */ color: rgb(175, 180, 118);
/* oklch */ color: oklch(75.1% 0.083 112.1);
Tailwind
colors: {
  custom: {
    50: '#c7ca9e',
    500: '#afb476',
    950: '#000000',
  },
}
SCSS
$custom: #afb476;
$custom-light: #c7ca9e;
$custom-dark: #000000;
JSON
{
  "hex": "#afb476",
  "rgb": {
    "r": 175,
    "g": 180,
    "b": 118
  },
  "hsl": {
    "h": 64.839,
    "s": 29.245,
    "l": 58.431
  },
  "oklch": {
    "l": 0.75107,
    "c": 0.08293,
    "h": 112.1
  },
  "luminance": 0.43064
}

Semantic roles & 50–950 ramp

primary
#AFB476
secondary
#B9B7CF
accent
#62C66A
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13130E
muted
#82827E

Preview Lab

Preview with #AFB476

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

Preview Lab → · Contrast checker → · Palette generator →

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