#AFB280#AFB280

#AFB280 is a light, moderate yellow. Relative luminance 0.425; OKLCH L 74.9% C 0.068 H 110.8°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#AFB280
RGBrgb(175, 178, 128)
HSLhsl(64, 25%, 60%)
HSVhsv(64, 28%, 70%)
CMYKcmyk(1.7%, 0%, 28.1%, 30.2%)
CIE-LABlab(71.22, -9.26, 25.28)
CIE-LCHlch(71.22, 26.92, 110.11°)
OKLaboklab(74.87% -0.0241 0.0634)
OKLCHoklch(74.87% 0.068 110.8)
XYZxyz(37.4959, 42.5137, 26.6486)
Luminance0.4251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB280 #8380B2
analogous
#B29C80 #AFB280 #96B280
triadic
#AFB280 #80AFB2 #B280AF
tetradic
#AFB280 #80B29C #8380B2 #B28096
square
#AFB280 #80B29C #8380B2 #B28096
split-complementary
#AFB280 #8096B2 #9C80B2
monochromatic
#707245 #95985C #AFB280 #C7C9A6 #DFE0CC

Accessibility & contrast

On white

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

On black

9.50
#AFB280 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB280
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB280#FFFFFF#000000##000000
##AFB2801.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAAD7D
Deuteranopia (green-blind)
#BAAF82
Tritanopia (blue-blind)
#B6ACA5
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #afb280;
/* rgb */ color: rgb(175, 178, 128);
/* oklch */ color: oklch(74.9% 0.068 110.8);
Tailwind
colors: {
  custom: {
    50: '#c7c9a5',
    500: '#afb280',
    950: '#000000',
  },
}
SCSS
$custom: #afb280;
$custom-light: #c7c9a5;
$custom-dark: #000000;
JSON
{
  "hex": "#afb280",
  "rgb": {
    "r": 175,
    "g": 178,
    "b": 128
  },
  "hsl": {
    "h": 63.6,
    "s": 24.51,
    "l": 60
  },
  "oklch": {
    "l": 0.74865,
    "c": 0.06785,
    "h": 110.8
  },
  "luminance": 0.42513
}

Semantic roles & 50–950 ramp

primary
#AFB280
secondary
#BEBDD1
accent
#67C16C
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#13130F
muted
#82827F

Preview Lab

Preview with #AFB280

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

Preview Lab → · Contrast checker → · Palette generator →

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