#AFB682#AFB682

#AFB682 is a light, moderate yellow. Relative luminance 0.442; OKLCH L 75.8% C 0.071 H 114.3°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#AFB682
RGBrgb(175, 182, 130)
HSLhsl(68, 26%, 61%)
HSVhsv(68, 29%, 71%)
CMYKcmyk(3.8%, 0%, 28.6%, 28.6%)
CIE-LABlab(72.35, -11.07, 25.73)
CIE-LCHlch(72.35, 28.01, 113.29°)
OKLaboklab(75.77% -0.0292 0.0645)
OKLCHoklch(75.77% 0.071 114.3)
XYZxyz(38.4363, 44.1819, 27.6179)
Luminance0.4418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB682 #8982B6
analogous
#B6A382 #AFB682 #95B682
triadic
#AFB682 #82AFB6 #B682AF
tetradic
#AFB682 #82B6A3 #8982B6 #B68295
square
#AFB682 #82B6A3 #8982B6 #B68295
split-complementary
#AFB682 #8295B6 #A382B6
monochromatic
#717846 #959E5C #AFB682 #C8CDA9 #E0E3CF

Accessibility & contrast

On white

2.13
#AFB682 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#AFB682 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB682
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB682#FFFFFF#000000##000000
##AFB6821.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEB17F
Deuteranopia (green-blind)
#BDB284
Tritanopia (blue-blind)
#B5B0A8
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #afb682;
/* rgb */ color: rgb(175, 182, 130);
/* oklch */ color: oklch(75.8% 0.071 114.3);
Tailwind
colors: {
  custom: {
    50: '#c7cba6',
    500: '#afb682',
    950: '#000000',
  },
}
SCSS
$custom: #afb682;
$custom-light: #c7cba6;
$custom-dark: #000000;
JSON
{
  "hex": "#afb682",
  "rgb": {
    "r": 175,
    "g": 182,
    "b": 130
  },
  "hsl": {
    "h": 68.077,
    "s": 26.263,
    "l": 61.176
  },
  "oklch": {
    "l": 0.75771,
    "c": 0.07083,
    "h": 114.3
  },
  "luminance": 0.44182
}

Semantic roles & 50–950 ramp

primary
#AFB682
secondary
#C3C0D4
accent
#41A54E
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#13130F
muted
#82827F

Preview Lab

Preview with #AFB682

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

Preview Lab → · Contrast checker → · Palette generator →

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