#AFB160#AFB160

#AFB160 is a light, moderate yellow. Relative luminance 0.414; OKLCH L 74.1% C 0.104 H 109.9°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#AFB160
RGBrgb(175, 177, 96)
HSLhsl(61, 34%, 54%)
HSVhsv(61, 46%, 69%)
CMYKcmyk(1.1%, 0%, 45.8%, 30.6%)
CIE-LABlab(70.46, -12.54, 40.98)
CIE-LCHlch(70.46, 42.86, 107.01°)
OKLaboklab(74.1% -0.0356 0.0981)
OKLCHoklch(74.1% 0.104 109.9)
XYZxyz(35.5133, 41.4035, 17.1850)
Luminance0.4140 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB160 #6260B1
analogous
#B18A60 #AFB160 #86B160
triadic
#AFB160 #60AFB1 #B160AF
tetradic
#AFB160 #60B18A #6260B1 #B16086
square
#AFB160 #60B18A #6260B1 #B16086
split-complementary
#AFB160 #6086B1 #8A60B1
monochromatic
#646532 #8C8E46 #AFB160 #C4C589 #D8D9B2

Accessibility & contrast

On white

2.26
#AFB160 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#AFB160 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB160
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB160#FFFFFF#000000##000000
##AFB1601.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCAB59
Deuteranopia (green-blind)
#BDAE64
Tritanopia (blue-blind)
#B9A89E
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #afb160;
/* rgb */ color: rgb(175, 177, 96);
/* oklch */ color: oklch(74.1% 0.104 109.9);
Tailwind
colors: {
  custom: {
    50: '#c8c88f',
    500: '#afb160',
    950: '#000000',
  },
}
SCSS
$custom: #afb160;
$custom-light: #c8c88f;
$custom-dark: #000000;
JSON
{
  "hex": "#afb160",
  "rgb": {
    "r": 175,
    "g": 177,
    "b": 96
  },
  "hsl": {
    "h": 61.481,
    "s": 34.177,
    "l": 53.529
  },
  "oklch": {
    "l": 0.74095,
    "c": 0.10435,
    "h": 109.9
  },
  "luminance": 0.41403
}

Semantic roles & 50–950 ramp

primary
#AFB160
secondary
#A6A5C8
accent
#5ECA60
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AFB160

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

Preview Lab → · Contrast checker → · Palette generator →

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