#AFBB5D#AFBB5D

#AFBB5D is a light, moderate yellow. Relative luminance 0.454; OKLCH L 76.3% C 0.120 H 115.3°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#AFBB5D
RGBrgb(175, 187, 93)
HSLhsl(68, 41%, 55%)
HSVhsv(68, 50%, 73%)
CMYKcmyk(6.4%, 0%, 50.3%, 26.7%)
CIE-LABlab(73.18, -17.94, 45.75)
CIE-LCHlch(73.18, 49.14, 111.41°)
OKLaboklab(76.26% -0.0512 0.1083)
OKLCHoklch(76.26% 0.12 115.3)
XYZxyz(37.4258, 45.4454, 17.1541)
Luminance0.4545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB5D #695DBB
analogous
#BB985D #AFBB5D #80BB5D
triadic
#AFBB5D #5DAFBB #BB5DAF
tetradic
#AFBB5D #5DBB98 #695DBB #BB5D80
square
#AFBB5D #5DBB98 #695DBB #BB5D80
split-complementary
#AFBB5D #5D80BB #985DBB
monochromatic
#676F2F #8F9A41 #AFBB5D #C4CD88 #DADFB3

Accessibility & contrast

On white

2.08
#AFBB5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.09
#AFBB5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBB5D
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBB5D#FFFFFF#000000##000000
##AFBB5D1.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B354
Deuteranopia (green-blind)
#C5B562
Tritanopia (blue-blind)
#B8B2A6
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbb5d;
/* rgb */ color: rgb(175, 187, 93);
/* oklch */ color: oklch(76.3% 0.120 115.3);
Tailwind
colors: {
  custom: {
    50: '#c9cf8d',
    500: '#afbb5d',
    950: '#000000',
  },
}
SCSS
$custom: #afbb5d;
$custom-light: #c9cf8d;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb5d",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 93
  },
  "hsl": {
    "h": 67.66,
    "s": 40.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.76259,
    "c": 0.11984,
    "h": 115.3
  },
  "luminance": 0.45445
}

Semantic roles & 50–950 ramp

primary
#AFBB5D
secondary
#ABA6CE
accent
#57D167
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AFBB5D

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

Preview Lab → · Contrast checker → · Palette generator →

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