#AFB455#AFB455

#AFB455 is a light, moderate yellow. Relative luminance 0.424; OKLCH L 74.6% C 0.119 H 111.7°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#AFB455
RGBrgb(175, 180, 85)
HSLhsl(63, 39%, 52%)
HSVhsv(63, 53%, 71%)
CMYKcmyk(2.8%, 0%, 52.8%, 29.4%)
CIE-LABlab(71.15, -15.11, 47.20)
CIE-LCHlch(71.15, 49.56, 107.75°)
OKLaboklab(74.61% -0.044 0.1107)
OKLCHoklch(74.61% 0.119 111.7)
XYZxyz(35.6409, 42.4131, 14.9016)
Luminance0.4241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB455 #5A55B4
analogous
#B48A55 #AFB455 #80B455
triadic
#AFB455 #55AFB4 #B455AF
tetradic
#AFB455 #55B48A #5A55B4 #B45580
square
#AFB455 #55B48A #5A55B4 #B45580
split-complementary
#AFB455 #5580B4 #8A55B4
monochromatic
#60632C #898D3E #AFB455 #C3C77F #D7D9AA

Accessibility & contrast

On white

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

On black

9.48
#AFB455 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB455
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB455#FFFFFF#000000##000000
##AFB4551.002.219.489.48
#FFFFFF2.211.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AD4C
Deuteranopia (green-blind)
#C0AF5A
Tritanopia (blue-blind)
#B9AB9F
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #afb455;
/* rgb */ color: rgb(175, 180, 85);
/* oklch */ color: oklch(74.6% 0.119 111.7);
Tailwind
colors: {
  custom: {
    50: '#c9ca88',
    500: '#afb455',
    950: '#000000',
  },
}
SCSS
$custom: #afb455;
$custom-light: #c9ca88;
$custom-dark: #000000;
JSON
{
  "hex": "#afb455",
  "rgb": {
    "r": 175,
    "g": 180,
    "b": 85
  },
  "hsl": {
    "h": 63.158,
    "s": 38.776,
    "l": 51.961
  },
  "oklch": {
    "l": 0.74609,
    "c": 0.11917,
    "h": 111.7
  },
  "luminance": 0.42412
}

Semantic roles & 50–950 ramp

primary
#AFB455
secondary
#A09EC7
accent
#59CF5F
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#13130B
muted
#82827C

Preview Lab

Preview with #AFB455

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

Preview Lab → · Contrast checker → · Palette generator →

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