#AFCB66#AFCB66

#AFCB66 is a light, vivid yellow-green. Relative luminance 0.528; OKLCH L 80.0% C 0.132 H 122.2°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#AFCB66
RGBrgb(175, 203, 102)
HSLhsl(77, 49%, 60%)
HSVhsv(77, 50%, 80%)
CMYKcmyk(13.8%, 0%, 49.8%, 20.4%)
CIE-LABlab(77.75, -24.97, 46.87)
CIE-LCHlch(77.75, 53.10, 118.05°)
OKLaboklab(79.95% -0.0703 0.1115)
OKLCHoklch(79.95% 0.132 122.2)
XYZxyz(41.4336, 52.7851, 20.5735)
Luminance0.5279 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCB66 #8266CB
analogous
#CBB566 #AFCB66 #7CCB66
triadic
#AFCB66 #66AFCB #CB66AF
tetradic
#AFCB66 #66CBB5 #8266CB #CB667C
square
#AFCB66 #66CBB5 #8266CB #CB667C
split-complementary
#AFCB66 #667CCB #B566CB
monochromatic
#6F882E #95B63E #AFCB66 #C7DB94 #DFEAC1

Accessibility & contrast

On white

1.82
#AFCB66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.56
#AFCB66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCB66
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCB66#FFFFFF#000000##000000
##AFCB661.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C15D
Deuteranopia (green-blind)
#D2C06C
Tritanopia (blue-blind)
#B6C2B4
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afcb66;
/* rgb */ color: rgb(175, 203, 102);
/* oklch */ color: oklch(80.0% 0.132 122.2);
Tailwind
colors: {
  custom: {
    50: '#c9da94',
    500: '#afcb66',
    950: '#000000',
  },
}
SCSS
$custom: #afcb66;
$custom-light: #c9da94;
$custom-dark: #000000;
JSON
{
  "hex": "#afcb66",
  "rgb": {
    "r": 175,
    "g": 203,
    "b": 102
  },
  "hsl": {
    "h": 76.634,
    "s": 49.268,
    "l": 59.804
  },
  "oklch": {
    "l": 0.79951,
    "c": 0.13182,
    "h": 122.2
  },
  "luminance": 0.52785
}

Semantic roles & 50–950 ramp

primary
#AFCB66
secondary
#5A468F
accent
#4FD975
background
#FEFEFC
surface
#FAFBF4
border
#D3D4CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFCB66

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

Preview Lab → · Contrast checker → · Palette generator →

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