#AFBB5C#AFBB5C

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

Color values

HEX#AFBB5C
RGBrgb(175, 187, 92)
HSLhsl(68, 41%, 55%)
HSVhsv(68, 51%, 73%)
CMYKcmyk(6.4%, 0%, 50.8%, 26.7%)
CIE-LABlab(73.17, -18.03, 46.22)
CIE-LCHlch(73.17, 49.61, 111.31°)
OKLaboklab(76.25% -0.0516 0.1093)
OKLCHoklch(76.25% 0.121 115.3)
XYZxyz(37.3818, 45.4278, 16.9223)
Luminance0.4543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB5C #685CBB
analogous
#BB985C #AFBB5C #80BB5C
triadic
#AFBB5C #5CAFBB #BB5CAF
tetradic
#AFBB5C #5CBB98 #685CBB #BB5C80
square
#AFBB5C #5CBB98 #685CBB #BB5C80
split-complementary
#AFBB5C #5C80BB #985CBB
monochromatic
#666F2E #8E9A40 #AFBB5C #C4CD87 #D9DFB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBB5C#FFFFFF#000000##000000
##AFBB5C1.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)
#C6B353
Deuteranopia (green-blind)
#C5B561
Tritanopia (blue-blind)
#B8B2A5
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbb5c;
/* rgb */ color: rgb(175, 187, 92);
/* oklch */ color: oklch(76.2% 0.121 115.3);
Tailwind
colors: {
  custom: {
    50: '#c9cf8d',
    500: '#afbb5c',
    950: '#000000',
  },
}
SCSS
$custom: #afbb5c;
$custom-light: #c9cf8d;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb5c",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 92
  },
  "hsl": {
    "h": 67.579,
    "s": 41.126,
    "l": 54.706
  },
  "oklch": {
    "l": 0.76246,
    "c": 0.12084,
    "h": 115.3
  },
  "luminance": 0.45427
}

Semantic roles & 50–950 ramp

primary
#AFBB5C
secondary
#AAA5CD
accent
#57D166
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AFBB5C

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

Preview Lab → · Contrast checker → · Palette generator →

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