#AFBB6A#AFBB6A

#AFBB6A is a light, moderate yellow. Relative luminance 0.457; OKLCH L 76.4% C 0.106 H 115.9°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#AFBB6A
RGBrgb(175, 187, 106)
HSLhsl(69, 37%, 57%)
HSVhsv(69, 43%, 73%)
CMYKcmyk(6.4%, 0%, 43.3%, 26.7%)
CIE-LABlab(73.35, -16.61, 39.51)
CIE-LCHlch(73.35, 42.86, 112.80°)
OKLaboklab(76.44% -0.0463 0.0955)
OKLCHoklch(76.44% 0.106 115.9)
XYZxyz(38.0514, 45.6956, 20.4485)
Luminance0.4570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB6A #766ABB
analogous
#BB9F6A #AFBB6A #86BB6A
triadic
#AFBB6A #6AAFBB #BB6AAF
tetradic
#AFBB6A #6ABB9F #766ABB #BB6A86
square
#AFBB6A #6ABB9F #766ABB #BB6A86
split-complementary
#AFBB6A #6A86BB #9F6ABB
monochromatic
#6C7535 #929F49 #AFBB6A #C6CE94 #DCE1BE

Accessibility & contrast

On white

2.07
#AFBB6A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.14
#AFBB6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBB6A
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBB6A#FFFFFF#000000##000000
##AFBB6A1.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B463
Deuteranopia (green-blind)
#C4B56E
Tritanopia (blue-blind)
#B7B3A8
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbb6a;
/* rgb */ color: rgb(175, 187, 106);
/* oklch */ color: oklch(76.4% 0.106 115.9);
Tailwind
colors: {
  custom: {
    50: '#c8cf96',
    500: '#afbb6a',
    950: '#000000',
  },
}
SCSS
$custom: #afbb6a;
$custom-light: #c8cf96;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb6a",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 106
  },
  "hsl": {
    "h": 68.889,
    "s": 37.327,
    "l": 57.451
  },
  "oklch": {
    "l": 0.76443,
    "c": 0.10613,
    "h": 115.9
  },
  "luminance": 0.45695
}

Semantic roles & 50–950 ramp

primary
#AFBB6A
secondary
#B5B0D1
accent
#5BCD6C
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13130D
muted
#82827E

Preview Lab

Preview with #AFBB6A

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

Preview Lab → · Contrast checker → · Palette generator →

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