#AFBB62#AFBB62

#AFBB62 is a light, moderate yellow. Relative luminance 0.455; OKLCH L 76.3% C 0.115 H 115.5°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#AFBB62
RGBrgb(175, 187, 98)
HSLhsl(68, 40%, 56%)
HSVhsv(68, 48%, 73%)
CMYKcmyk(6.4%, 0%, 47.6%, 26.7%)
CIE-LABlab(73.24, -17.45, 43.38)
CIE-LCHlch(73.24, 46.76, 111.91°)
OKLaboklab(76.33% -0.0494 0.1035)
OKLCHoklch(76.33% 0.115 115.5)
XYZxyz(37.6546, 45.5369, 18.3588)
Luminance0.4554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB62 #6E62BB
analogous
#BB9A62 #AFBB62 #82BB62
triadic
#AFBB62 #62AFBB #BB62AF
tetradic
#AFBB62 #62BB9A #6E62BB #BB6282
square
#AFBB62 #62BB9A #6E62BB #BB6282
split-complementary
#AFBB62 #6282BB #9A62BB
monochromatic
#697131 #909C44 #AFBB62 #C5CD8D #DBE0B7

Accessibility & contrast

On white

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

On black

10.11
#AFBB62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBB62
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBB62#FFFFFF#000000##000000
##AFBB621.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B35A
Deuteranopia (green-blind)
#C5B567
Tritanopia (blue-blind)
#B8B2A6
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbb62;
/* rgb */ color: rgb(175, 187, 98);
/* oklch */ color: oklch(76.3% 0.115 115.5);
Tailwind
colors: {
  custom: {
    50: '#c8cf91',
    500: '#afbb62',
    950: '#000000',
  },
}
SCSS
$custom: #afbb62;
$custom-light: #c8cf91;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb62",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 98
  },
  "hsl": {
    "h": 68.09,
    "s": 39.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.76327,
    "c": 0.11472,
    "h": 115.5
  },
  "luminance": 0.45536
}

Semantic roles & 50–950 ramp

primary
#AFBB62
secondary
#AFAACF
accent
#58CF68
background
#FCFCF9
surface
#F8F9F1
border
#D1D2CB
text
#13130D
muted
#82827E

Preview Lab

Preview with #AFBB62

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

Preview Lab → · Contrast checker → · Palette generator →

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