#AFBB66#AFBB66

#AFBB66 is a light, moderate yellow. Relative luminance 0.456; OKLCH L 76.4% C 0.110 H 115.7°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#AFBB66
RGBrgb(175, 187, 102)
HSLhsl(68, 38%, 57%)
HSVhsv(68, 45%, 73%)
CMYKcmyk(6.4%, 0%, 45.5%, 26.7%)
CIE-LABlab(73.29, -17.04, 41.46)
CIE-LCHlch(73.29, 44.82, 112.34°)
OKLaboklab(76.38% -0.0479 0.0996)
OKLCHoklch(76.38% 0.11 115.7)
XYZxyz(37.8482, 45.6143, 19.3784)
Luminance0.4561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB66 #7266BB
analogous
#BB9D66 #AFBB66 #85BB66
triadic
#AFBB66 #66AFBB #BB66AF
tetradic
#AFBB66 #66BB9D #7266BB #BB6685
square
#AFBB66 #66BB9D #7266BB #BB6685
split-complementary
#AFBB66 #6685BB #9D66BB
monochromatic
#6A7333 #919E46 #AFBB66 #C5CE90 #DBE1BB

Accessibility & contrast

On white

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

On black

10.12
#AFBB66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBB66
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBB66#FFFFFF#000000##000000
##AFBB661.002.0710.1210.12
#FFFFFF2.071.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B35F
Deuteranopia (green-blind)
#C4B56A
Tritanopia (blue-blind)
#B7B3A7
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbb66;
/* rgb */ color: rgb(175, 187, 102);
/* oklch */ color: oklch(76.4% 0.110 115.7);
Tailwind
colors: {
  custom: {
    50: '#c8cf93',
    500: '#afbb66',
    950: '#000000',
  },
}
SCSS
$custom: #afbb66;
$custom-light: #c8cf93;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb66",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 102
  },
  "hsl": {
    "h": 68.471,
    "s": 38.462,
    "l": 56.667
  },
  "oklch": {
    "l": 0.76383,
    "c": 0.11048,
    "h": 115.7
  },
  "luminance": 0.45614
}

Semantic roles & 50–950 ramp

primary
#AFBB66
secondary
#B2ADD0
accent
#59CE6A
background
#FCFCF9
surface
#F8F9F1
border
#D1D2CB
text
#13130D
muted
#82827E

Preview Lab

Preview with #AFBB66

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

Preview Lab → · Contrast checker → · Palette generator →

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