#AFBB61#AFBB61

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

Color values

HEX#AFBB61
RGBrgb(175, 187, 97)
HSLhsl(68, 40%, 56%)
HSVhsv(68, 48%, 73%)
CMYKcmyk(6.4%, 0%, 48.1%, 26.7%)
CIE-LABlab(73.23, -17.55, 43.86)
CIE-LCHlch(73.23, 47.24, 111.81°)
OKLaboklab(76.31% -0.0498 0.1045)
OKLCHoklch(76.31% 0.116 115.5)
XYZxyz(37.6077, 45.5181, 18.1117)
Luminance0.4552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB61 #6D61BB
analogous
#BB9A61 #AFBB61 #82BB61
triadic
#AFBB61 #61AFBB #BB61AF
tetradic
#AFBB61 #61BB9A #6D61BB #BB6182
square
#AFBB61 #61BB9A #6D61BB #BB6182
split-complementary
#AFBB61 #6182BB #9A61BB
monochromatic
#687131 #909C43 #AFBB61 #C5CD8C #DAE0B7

Accessibility & contrast

On white

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

On black

10.10
#AFBB61 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBB61
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBB61#FFFFFF#000000##000000
##AFBB611.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afbb61;
/* rgb */ color: rgb(175, 187, 97);
/* oklch */ color: oklch(76.3% 0.116 115.5);
Tailwind
colors: {
  custom: {
    50: '#c8cf90',
    500: '#afbb61',
    950: '#000000',
  },
}
SCSS
$custom: #afbb61;
$custom-light: #c8cf90;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb61",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 97
  },
  "hsl": {
    "h": 68,
    "s": 39.823,
    "l": 55.686
  },
  "oklch": {
    "l": 0.76313,
    "c": 0.11576,
    "h": 115.5
  },
  "luminance": 0.45518
}

Semantic roles & 50–950 ramp

primary
#AFBB61
secondary
#AEA9CF
accent
#58D068
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13130D
muted
#82827D

Preview Lab

Preview with #AFBB61

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

Preview Lab → · Contrast checker → · Palette generator →

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