#AFBC66#AFBC66

#AFBC66 is a light, moderate yellow. Relative luminance 0.460; OKLCH L 76.6% C 0.112 H 116.2°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#AFBC66
RGBrgb(175, 188, 102)
HSLhsl(69, 39%, 57%)
HSVhsv(69, 46%, 74%)
CMYKcmyk(6.9%, 0%, 45.7%, 26.3%)
CIE-LABlab(73.57, -17.54, 41.80)
CIE-LCHlch(73.57, 45.33, 112.77°)
OKLaboklab(76.61% -0.0493 0.1003)
OKLCHoklch(76.61% 0.112 116.2)
XYZxyz(38.0611, 46.0401, 19.4494)
Luminance0.4604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC66 #7366BC
analogous
#BC9E66 #AFBC66 #84BC66
triadic
#AFBC66 #66AFBC #BC66AF
tetradic
#AFBC66 #66BC9E #7366BC #BC6684
square
#AFBC66 #66BC9E #7366BC #BC6684
split-complementary
#AFBC66 #6684BC #9E66BC
monochromatic
#6B7533 #929F46 #AFBC66 #C5CF91 #DCE1BB

Accessibility & contrast

On white

2.06
#AFBC66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.21
#AFBC66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBC66
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBC66#FFFFFF#000000##000000
##AFBC661.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B45F
Deuteranopia (green-blind)
#C5B56A
Tritanopia (blue-blind)
#B7B4A8
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbc66;
/* rgb */ color: rgb(175, 188, 102);
/* oklch */ color: oklch(76.6% 0.112 116.2);
Tailwind
colors: {
  custom: {
    50: '#c8d093',
    500: '#afbc66',
    950: '#000000',
  },
}
SCSS
$custom: #afbc66;
$custom-light: #c8d093;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc66",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 102
  },
  "hsl": {
    "h": 69.07,
    "s": 39.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.76605,
    "c": 0.11179,
    "h": 116.2
  },
  "luminance": 0.4604
}

Semantic roles & 50–950 ramp

primary
#AFBC66
secondary
#B3ADD0
accent
#59CF6B
background
#FCFCF9
surface
#F8F9F1
border
#D1D2CB
text
#13140D
muted
#82827E

Preview Lab

Preview with #AFBC66

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

Preview Lab → · Contrast checker → · Palette generator →

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