#AFBB68#AFBB68

#AFBB68 is a light, moderate yellow. Relative luminance 0.457; OKLCH L 76.4% C 0.108 H 115.8°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#AFBB68
RGBrgb(175, 187, 104)
HSLhsl(69, 38%, 57%)
HSVhsv(69, 44%, 73%)
CMYKcmyk(6.4%, 0%, 44.4%, 26.7%)
CIE-LABlab(73.32, -16.83, 40.49)
CIE-LCHlch(73.32, 43.85, 112.57°)
OKLaboklab(76.41% -0.0471 0.0976)
OKLCHoklch(76.41% 0.108 115.8)
XYZxyz(37.9486, 45.6545, 19.9071)
Luminance0.4565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB68 #7468BB
analogous
#BB9E68 #AFBB68 #85BB68
triadic
#AFBB68 #68AFBB #BB68AF
tetradic
#AFBB68 #68BB9E #7468BB #BB6885
square
#AFBB68 #68BB9E #7468BB #BB6885
split-complementary
#AFBB68 #6885BB #9E68BB
monochromatic
#6B7434 #929E47 #AFBB68 #C5CE92 #DCE1BC

Accessibility & contrast

On white

2.07
#AFBB68 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.13
#AFBB68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBB68
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBB68#FFFFFF#000000##000000
##AFBB681.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B361
Deuteranopia (green-blind)
#C4B56C
Tritanopia (blue-blind)
#B7B3A7
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbb68;
/* rgb */ color: rgb(175, 187, 104);
/* oklch */ color: oklch(76.4% 0.108 115.8);
Tailwind
colors: {
  custom: {
    50: '#c8cf95',
    500: '#afbb68',
    950: '#000000',
  },
}
SCSS
$custom: #afbb68;
$custom-light: #c8cf95;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb68",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 104
  },
  "hsl": {
    "h": 68.675,
    "s": 37.9,
    "l": 57.059
  },
  "oklch": {
    "l": 0.76413,
    "c": 0.10833,
    "h": 115.8
  },
  "luminance": 0.45654
}

Semantic roles & 50–950 ramp

primary
#AFBB68
secondary
#B3AFD0
accent
#5ACE6B
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13130D
muted
#82827E

Preview Lab

Preview with #AFBB68

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

Preview Lab → · Contrast checker → · Palette generator →

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