#AFBB65#AFBB65

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

Color values

HEX#AFBB65
RGBrgb(175, 187, 101)
HSLhsl(68, 39%, 56%)
HSVhsv(68, 46%, 73%)
CMYKcmyk(6.4%, 0%, 46%, 26.7%)
CIE-LABlab(73.28, -17.14, 41.94)
CIE-LCHlch(73.28, 45.31, 112.23°)
OKLaboklab(76.37% -0.0482 0.1006)
OKLCHoklch(76.37% 0.112 115.6)
XYZxyz(37.7989, 45.5946, 19.1188)
Luminance0.4559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB65 #7165BB
analogous
#BB9C65 #AFBB65 #84BB65
triadic
#AFBB65 #65AFBB #BB65AF
tetradic
#AFBB65 #65BB9C #7165BB #BB6584
square
#AFBB65 #65BB9C #7165BB #BB6584
split-complementary
#AFBB65 #6584BB #9C65BB
monochromatic
#6A7333 #919D45 #AFBB65 #C5CE8F #DBE0BA

Accessibility & contrast

On white

2.08
#AFBB65 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBB65#FFFFFF#000000##000000
##AFBB651.002.0810.1210.12
#FFFFFF2.081.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B35E
Deuteranopia (green-blind)
#C5B569
Tritanopia (blue-blind)
#B8B3A7
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbb65;
/* rgb */ color: rgb(175, 187, 101);
/* oklch */ color: oklch(76.4% 0.112 115.6);
Tailwind
colors: {
  custom: {
    50: '#c8cf93',
    500: '#afbb65',
    950: '#000000',
  },
}
SCSS
$custom: #afbb65;
$custom-light: #c8cf93;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb65",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 101
  },
  "hsl": {
    "h": 68.372,
    "s": 38.739,
    "l": 56.471
  },
  "oklch": {
    "l": 0.76369,
    "c": 0.11155,
    "h": 115.6
  },
  "luminance": 0.45594
}

Semantic roles & 50–950 ramp

primary
#AFBB65
secondary
#B1ACD0
accent
#59CF6A
background
#FCFCF9
surface
#F8F9F1
border
#D1D2CB
text
#13130D
muted
#82827E

Preview Lab

Preview with #AFBB65

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

Preview Lab → · Contrast checker → · Palette generator →

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