#AFB482#AFB482

#AFB482 is a light, moderate yellow. Relative luminance 0.434; OKLCH L 75.3% C 0.068 H 112.7°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#AFB482
RGBrgb(175, 180, 130)
HSLhsl(66, 25%, 61%)
HSVhsv(66, 28%, 71%)
CMYKcmyk(2.8%, 0%, 27.8%, 29.4%)
CIE-LABlab(71.80, -10.03, 24.99)
CIE-LCHlch(71.80, 26.93, 111.86°)
OKLaboklab(75.34% -0.0262 0.0628)
OKLCHoklch(75.34% 0.068 112.7)
XYZxyz(38.0297, 43.3686, 27.4823)
Luminance0.4337 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB482 #8782B4
analogous
#B4A082 #AFB482 #96B482
triadic
#AFB482 #82AFB4 #B482AF
tetradic
#AFB482 #82B4A0 #8782B4 #B48296
square
#AFB482 #82B4A0 #8782B4 #B48296
split-complementary
#AFB482 #8296B4 #A082B4
monochromatic
#717546 #959B5D #AFB482 #C7CBA8 #E0E2CE

Accessibility & contrast

On white

2.17
#AFB482 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#AFB482 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB482
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB482#FFFFFF#000000##000000
##AFB4821.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCAF7F
Deuteranopia (green-blind)
#BBB184
Tritanopia (blue-blind)
#B5AEA7
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #afb482;
/* rgb */ color: rgb(175, 180, 130);
/* oklch */ color: oklch(75.3% 0.068 112.7);
Tailwind
colors: {
  custom: {
    50: '#c7caa6',
    500: '#afb482',
    950: '#000000',
  },
}
SCSS
$custom: #afb482;
$custom-light: #c7caa6;
$custom-dark: #000000;
JSON
{
  "hex": "#afb482",
  "rgb": {
    "r": 175,
    "g": 180,
    "b": 130
  },
  "hsl": {
    "h": 66,
    "s": 25,
    "l": 60.784
  },
  "oklch": {
    "l": 0.75338,
    "c": 0.06804,
    "h": 112.7
  },
  "luminance": 0.43368
}

Semantic roles & 50–950 ramp

primary
#AFB482
secondary
#C1BFD2
accent
#42A44C
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#13130F
muted
#82827F

Preview Lab

Preview with #AFB482

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

Preview Lab → · Contrast checker → · Palette generator →

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