#AFBF68#AFBF68

#AFBF68 is a light, moderate yellow-green. Relative luminance 0.474; OKLCH L 77.3% C 0.114 H 117.7°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#AFBF68
RGBrgb(175, 191, 104)
HSLhsl(71, 40%, 58%)
HSVhsv(71, 46%, 75%)
CMYKcmyk(8.4%, 0%, 45.5%, 25.1%)
CIE-LABlab(74.43, -18.84, 41.86)
CIE-LCHlch(74.43, 45.90, 114.24°)
OKLaboklab(77.3% -0.0528 0.1006)
OKLCHoklch(77.3% 0.114 117.7)
XYZxyz(38.8090, 47.3753, 20.1939)
Luminance0.4738 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBF68 #7868BF
analogous
#BFA368 #AFBF68 #84BF68
triadic
#AFBF68 #68AFBF #BF68AF
tetradic
#AFBF68 #68BFA3 #7868BF #BF6884
square
#AFBF68 #68BFA3 #7868BF #BF6884
split-complementary
#AFBF68 #6884BF #A368BF
monochromatic
#6C7933 #93A446 #AFBF68 #C6D193 #DDE3BE

Accessibility & contrast

On white

2.00
#AFBF68 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.48
#AFBF68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBF68
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBF68#FFFFFF#000000##000000
##AFBF681.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B761
Deuteranopia (green-blind)
#C7B86C
Tritanopia (blue-blind)
#B7B7AA
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #afbf68;
/* rgb */ color: rgb(175, 191, 104);
/* oklch */ color: oklch(77.3% 0.114 117.7);
Tailwind
colors: {
  custom: {
    50: '#c8d295',
    500: '#afbf68',
    950: '#000000',
  },
}
SCSS
$custom: #afbf68;
$custom-light: #c8d295;
$custom-dark: #000000;
JSON
{
  "hex": "#afbf68",
  "rgb": {
    "r": 175,
    "g": 191,
    "b": 104
  },
  "hsl": {
    "h": 71.034,
    "s": 40.465,
    "l": 57.843
  },
  "oklch": {
    "l": 0.77299,
    "c": 0.11362,
    "h": 117.7
  },
  "luminance": 0.47375
}

Semantic roles & 50–950 ramp

primary
#AFBF68
secondary
#B6B0D3
accent
#57D06E
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13140D
muted
#82827E

Preview Lab

Preview with #AFBF68

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

Preview Lab → · Contrast checker → · Palette generator →

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