#AFB055#AFB055

#AFB055 is a light, moderate yellow. Relative luminance 0.408; OKLCH L 73.7% C 0.115 H 109.5°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#AFB055
RGBrgb(175, 176, 85)
HSLhsl(61, 37%, 51%)
HSVhsv(61, 52%, 69%)
CMYKcmyk(0.6%, 0%, 51.7%, 31%)
CIE-LABlab(70.05, -13.05, 45.91)
CIE-LCHlch(70.05, 47.73, 105.87°)
OKLaboklab(73.73% -0.0382 0.108)
OKLCHoklch(73.73% 0.115 109.5)
XYZxyz(34.8450, 40.8213, 14.6363)
Luminance0.4082 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB055 #5655B0
analogous
#B08355 #AFB055 #81B055
triadic
#AFB055 #55AFB0 #B055AF
tetradic
#AFB055 #55B083 #5655B0 #B05581
square
#AFB055 #55B083 #5655B0 #B05581
split-complementary
#AFB055 #5581B0 #8355B0
monochromatic
#5E5F2C #88883F #AFB055 #C3C37F #D6D7A9

Accessibility & contrast

On white

2.29
#AFB055 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#AFB055 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB055
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB055#FFFFFF#000000##000000
##AFB0551.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCAA4C
Deuteranopia (green-blind)
#BDAD5A
Tritanopia (blue-blind)
#BAA79B
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afb055;
/* rgb */ color: rgb(175, 176, 85);
/* oklch */ color: oklch(73.7% 0.115 109.5);
Tailwind
colors: {
  custom: {
    50: '#c9c787',
    500: '#afb055',
    950: '#000000',
  },
}
SCSS
$custom: #afb055;
$custom-light: #c9c787;
$custom-dark: #000000;
JSON
{
  "hex": "#afb055",
  "rgb": {
    "r": 175,
    "g": 176,
    "b": 85
  },
  "hsl": {
    "h": 60.659,
    "s": 36.546,
    "l": 51.176
  },
  "oklch": {
    "l": 0.73728,
    "c": 0.1145,
    "h": 109.5
  },
  "luminance": 0.40821
}

Semantic roles & 50–950 ramp

primary
#AFB055
secondary
#9D9CC5
accent
#5BCD5C
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#13130B
muted
#82827C

Preview Lab

Preview with #AFB055

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

Preview Lab → · Contrast checker → · Palette generator →

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