#AFBC68#AFBC68

#AFBC68 is a light, moderate yellow. Relative luminance 0.461; OKLCH L 76.6% C 0.110 H 116.3°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#AFBC68
RGBrgb(175, 188, 104)
HSLhsl(69, 39%, 57%)
HSVhsv(69, 45%, 74%)
CMYKcmyk(6.9%, 0%, 44.7%, 26.3%)
CIE-LABlab(73.60, -17.33, 40.83)
CIE-LCHlch(73.60, 44.36, 113.00°)
OKLaboklab(76.63% -0.0485 0.0983)
OKLCHoklch(76.63% 0.11 116.3)
XYZxyz(38.1615, 46.0803, 19.9780)
Luminance0.4608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC68 #7568BC
analogous
#BC9F68 #AFBC68 #85BC68
triadic
#AFBC68 #68AFBC #BC68AF
tetradic
#AFBC68 #68BC9F #7568BC #BC6885
square
#AFBC68 #68BC9F #7568BC #BC6885
split-complementary
#AFBC68 #6885BC #9F68BC
monochromatic
#6B7534 #92A047 #AFBC68 #C5CF92 #DCE2BD

Accessibility & contrast

On white

2.06
#AFBC68 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.22
#AFBC68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBC68
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBC68#FFFFFF#000000##000000
##AFBC681.002.0610.2210.22
#FFFFFF2.061.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B461
Deuteranopia (green-blind)
#C5B56C
Tritanopia (blue-blind)
#B7B4A8
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbc68;
/* rgb */ color: rgb(175, 188, 104);
/* oklch */ color: oklch(76.6% 0.110 116.3);
Tailwind
colors: {
  custom: {
    50: '#c8d095',
    500: '#afbc68',
    950: '#000000',
  },
}
SCSS
$custom: #afbc68;
$custom-light: #c8d095;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc68",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 104
  },
  "hsl": {
    "h": 69.286,
    "s": 38.532,
    "l": 57.255
  },
  "oklch": {
    "l": 0.76634,
    "c": 0.10964,
    "h": 116.3
  },
  "luminance": 0.4608
}

Semantic roles & 50–950 ramp

primary
#AFBC68
secondary
#B4AFD1
accent
#59CE6B
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13130D
muted
#82827E

Preview Lab

Preview with #AFBC68

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

Preview Lab → · Contrast checker → · Palette generator →

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