#AFB372#AFB372

#AFB372 is a light, moderate yellow. Relative luminance 0.426; OKLCH L 74.8% C 0.086 H 111.3°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#AFB372
RGBrgb(175, 179, 114)
HSLhsl(64, 30%, 57%)
HSVhsv(64, 36%, 70%)
CMYKcmyk(2.2%, 0%, 36.3%, 29.8%)
CIE-LABlab(71.26, -11.58, 32.75)
CIE-LCHlch(71.26, 34.74, 109.48°)
OKLaboklab(74.82% -0.0314 0.0805)
OKLCHoklch(74.82% 0.086 111.3)
XYZxyz(36.8368, 42.5696, 22.1925)
Luminance0.4257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB372 #7672B3
analogous
#B39672 #AFB372 #8FB372
triadic
#AFB372 #72AFB3 #B372AF
tetradic
#AFB372 #72B396 #7672B3 #B3728F
square
#AFB372 #72B396 #7672B3 #B3728F
split-complementary
#AFB372 #728FB3 #9672B3
monochromatic
#6C6F3C #929751 #AFB372 #C6C89A #DCDEC2

Accessibility & contrast

On white

2.21
#AFB372 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#AFB372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB372
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB372#FFFFFF#000000##000000
##AFB3721.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCAD6D
Deuteranopia (green-blind)
#BDAF75
Tritanopia (blue-blind)
#B7ACA3
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #afb372;
/* rgb */ color: rgb(175, 179, 114);
/* oklch */ color: oklch(74.8% 0.086 111.3);
Tailwind
colors: {
  custom: {
    50: '#c8c99b',
    500: '#afb372',
    950: '#000000',
  },
}
SCSS
$custom: #afb372;
$custom-light: #c8c99b;
$custom-dark: #000000;
JSON
{
  "hex": "#afb372",
  "rgb": {
    "r": 175,
    "g": 179,
    "b": 114
  },
  "hsl": {
    "h": 63.692,
    "s": 29.954,
    "l": 57.451
  },
  "oklch": {
    "l": 0.74818,
    "c": 0.08642,
    "h": 111.3
  },
  "luminance": 0.42569
}

Semantic roles & 50–950 ramp

primary
#AFB372
secondary
#B5B3CE
accent
#62C668
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13130E
muted
#82827E

Preview Lab

Preview with #AFB372

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

Preview Lab → · Contrast checker → · Palette generator →

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