#AFBB5A#AFBB5A

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

Color values

HEX#AFBB5A
RGBrgb(175, 187, 90)
HSLhsl(67, 42%, 54%)
HSVhsv(67, 52%, 73%)
CMYKcmyk(6.4%, 0%, 51.9%, 26.7%)
CIE-LABlab(73.15, -18.22, 47.15)
CIE-LCHlch(73.15, 50.54, 111.12°)
OKLaboklab(76.22% -0.0523 0.1111)
OKLCHoklch(76.22% 0.123 115.2)
XYZxyz(37.2956, 45.3933, 16.4679)
Luminance0.4539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB5A #665ABB
analogous
#BB975A #AFBB5A #7FBB5A
triadic
#AFBB5A #5AAFBB #BB5AAF
tetradic
#AFBB5A #5ABB97 #665ABB #BB5A7F
square
#AFBB5A #5ABB97 #665ABB #BB5A7F
split-complementary
#AFBB5A #5A7FBB #975ABB
monochromatic
#666D2D #8E993F #AFBB5A #C4CD85 #D9DFB1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBB5A#FFFFFF#000000##000000
##AFBB5A1.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)
#C6B351
Deuteranopia (green-blind)
#C6B45F
Tritanopia (blue-blind)
#B8B2A5
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbb5a;
/* rgb */ color: rgb(175, 187, 90);
/* oklch */ color: oklch(76.2% 0.123 115.2);
Tailwind
colors: {
  custom: {
    50: '#c9cf8b',
    500: '#afbb5a',
    950: '#000000',
  },
}
SCSS
$custom: #afbb5a;
$custom-light: #c9cf8b;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb5a",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 90
  },
  "hsl": {
    "h": 67.423,
    "s": 41.631,
    "l": 54.314
  },
  "oklch": {
    "l": 0.76221,
    "c": 0.12281,
    "h": 115.2
  },
  "luminance": 0.45393
}

Semantic roles & 50–950 ramp

primary
#AFBB5A
secondary
#A9A4CD
accent
#56D166
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AFBB5A

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

Preview Lab → · Contrast checker → · Palette generator →

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