#AFBF66#AFBF66

#AFBF66 is a light, moderate yellow-green. Relative luminance 0.473; OKLCH L 77.3% C 0.116 H 117.6°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#AFBF66
RGBrgb(175, 191, 102)
HSLhsl(71, 41%, 57%)
HSVhsv(71, 47%, 75%)
CMYKcmyk(8.4%, 0%, 46.6%, 25.1%)
CIE-LABlab(74.40, -19.05, 42.82)
CIE-LCHlch(74.40, 46.86, 113.99°)
OKLaboklab(77.27% -0.0536 0.1026)
OKLCHoklch(77.27% 0.116 117.6)
XYZxyz(38.7086, 47.3352, 19.6652)
Luminance0.4733 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBF66 #7666BF
analogous
#BFA366 #AFBF66 #82BF66
triadic
#AFBF66 #66AFBF #BF66AF
tetradic
#AFBF66 #66BFA3 #7666BF #BF6682
square
#AFBF66 #66BFA3 #7666BF #BF6682
split-complementary
#AFBF66 #6682BF #A366BF
monochromatic
#6C7832 #92A344 #AFBF66 #C6D191 #DCE3BC

Accessibility & contrast

On white

2.01
#AFBF66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.47
#AFBF66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBF66
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBF66#FFFFFF#000000##000000
##AFBF661.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B75E
Deuteranopia (green-blind)
#C8B86B
Tritanopia (blue-blind)
#B7B7AA
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #afbf66;
/* rgb */ color: rgb(175, 191, 102);
/* oklch */ color: oklch(77.3% 0.116 117.6);
Tailwind
colors: {
  custom: {
    50: '#c8d293',
    500: '#afbf66',
    950: '#000000',
  },
}
SCSS
$custom: #afbf66;
$custom-light: #c8d293;
$custom-dark: #000000;
JSON
{
  "hex": "#afbf66",
  "rgb": {
    "r": 175,
    "g": 191,
    "b": 102
  },
  "hsl": {
    "h": 70.787,
    "s": 41.014,
    "l": 57.451
  },
  "oklch": {
    "l": 0.7727,
    "c": 0.11574,
    "h": 117.6
  },
  "luminance": 0.47335
}

Semantic roles & 50–950 ramp

primary
#AFBF66
secondary
#B5AED2
accent
#57D16D
background
#FCFCF9
surface
#F8F9F1
border
#D1D2CB
text
#13140D
muted
#82827E

Preview Lab

Preview with #AFBF66

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

Preview Lab → · Contrast checker → · Palette generator →

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