#AFB155#AFB155

#AFB155 is a light, moderate yellow. Relative luminance 0.412; OKLCH L 73.9% C 0.116 H 110.0°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#AFB155
RGBrgb(175, 177, 85)
HSLhsl(61, 37%, 51%)
HSVhsv(61, 52%, 69%)
CMYKcmyk(1.1%, 0%, 52%, 30.6%)
CIE-LABlab(70.33, -13.57, 46.23)
CIE-LCHlch(70.33, 48.18, 106.36°)
OKLaboklab(73.95% -0.0396 0.1087)
OKLCHoklch(73.95% 0.116 110)
XYZxyz(35.0418, 41.2149, 14.7019)
Luminance0.4121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB155 #5755B1
analogous
#B18555 #AFB155 #81B155
triadic
#AFB155 #55AFB1 #B155AF
tetradic
#AFB155 #55B185 #5755B1 #B15581
square
#AFB155 #55B185 #5755B1 #B15581
split-complementary
#AFB155 #5581B1 #8555B1
monochromatic
#5F602C #888A3F #AFB155 #C3C47F #D6D7A9

Accessibility & contrast

On white

2.27
#AFB155 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#AFB155 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB155
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB155#FFFFFF#000000##000000
##AFB1551.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAA4C
Deuteranopia (green-blind)
#BEAD5A
Tritanopia (blue-blind)
#BAA89C
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #afb155;
/* rgb */ color: rgb(175, 177, 85);
/* oklch */ color: oklch(73.9% 0.116 110.0);
Tailwind
colors: {
  custom: {
    50: '#c9c887',
    500: '#afb155',
    950: '#000000',
  },
}
SCSS
$custom: #afb155;
$custom-light: #c9c887;
$custom-dark: #000000;
JSON
{
  "hex": "#afb155",
  "rgb": {
    "r": 175,
    "g": 177,
    "b": 85
  },
  "hsl": {
    "h": 61.304,
    "s": 37.097,
    "l": 51.373
  },
  "oklch": {
    "l": 0.73948,
    "c": 0.11566,
    "h": 110
  },
  "luminance": 0.41214
}

Semantic roles & 50–950 ramp

primary
#AFB155
secondary
#9E9DC5
accent
#5BCD5D
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#13130B
muted
#82827C

Preview Lab

Preview with #AFB155

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

Preview Lab → · Contrast checker → · Palette generator →

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