#AFBB5B#AFBB5B

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

Color values

HEX#AFBB5B
RGBrgb(175, 187, 91)
HSLhsl(68, 41%, 55%)
HSVhsv(68, 51%, 73%)
CMYKcmyk(6.4%, 0%, 51.3%, 26.7%)
CIE-LABlab(73.16, -18.12, 46.68)
CIE-LCHlch(73.16, 50.08, 111.22°)
OKLaboklab(76.23% -0.052 0.1102)
OKLCHoklch(76.23% 0.122 115.2)
XYZxyz(37.3384, 45.4104, 16.6936)
Luminance0.4541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB5B #675BBB
analogous
#BB975B #AFBB5B #7FBB5B
triadic
#AFBB5B #5BAFBB #BB5BAF
tetradic
#AFBB5B #5BBB97 #675BBB #BB5B7F
square
#AFBB5B #5BBB97 #675BBB #BB5B7F
split-complementary
#AFBB5B #5B7FBB #975BBB
monochromatic
#666E2E #8E9940 #AFBB5B #C4CD86 #D9DFB2

Accessibility & contrast

On white

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

On black

10.08
#AFBB5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBB5B
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBB5B#FFFFFF#000000##000000
##AFBB5B1.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B352
Deuteranopia (green-blind)
#C5B460
Tritanopia (blue-blind)
#B8B2A5
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbb5b;
/* rgb */ color: rgb(175, 187, 91);
/* oklch */ color: oklch(76.2% 0.122 115.2);
Tailwind
colors: {
  custom: {
    50: '#c9cf8c',
    500: '#afbb5b',
    950: '#000000',
  },
}
SCSS
$custom: #afbb5b;
$custom-light: #c9cf8c;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb5b",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 91
  },
  "hsl": {
    "h": 67.5,
    "s": 41.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.76234,
    "c": 0.12183,
    "h": 115.2
  },
  "luminance": 0.4541
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFBB5B

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

Preview Lab → · Contrast checker → · Palette generator →

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