#AFBF67#AFBF67

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

Color values

HEX#AFBF67
RGBrgb(175, 191, 103)
HSLhsl(71, 41%, 58%)
HSVhsv(71, 46%, 75%)
CMYKcmyk(8.4%, 0%, 46.1%, 25.1%)
CIE-LABlab(74.42, -18.95, 42.34)
CIE-LCHlch(74.42, 46.38, 114.11°)
OKLaboklab(77.28% -0.0532 0.1016)
OKLCHoklch(77.28% 0.115 117.6)
XYZxyz(38.7585, 47.3551, 19.9280)
Luminance0.4736 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBF67 #7767BF
analogous
#BFA367 #AFBF67 #83BF67
triadic
#AFBF67 #67AFBF #BF67AF
tetradic
#AFBF67 #67BFA3 #7767BF #BF6783
square
#AFBF67 #67BFA3 #7767BF #BF6783
split-complementary
#AFBF67 #6783BF #A367BF
monochromatic
#6C7933 #93A445 #AFBF67 #C6D192 #DCE3BD

Accessibility & contrast

On white

2.01
#AFBF67 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.47
#AFBF67 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBF67
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBF67#FFFFFF#000000##000000
##AFBF671.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afbf67;
/* rgb */ color: rgb(175, 191, 103);
/* oklch */ color: oklch(77.3% 0.115 117.6);
Tailwind
colors: {
  custom: {
    50: '#c8d294',
    500: '#afbf67',
    950: '#000000',
  },
}
SCSS
$custom: #afbf67;
$custom-light: #c8d294;
$custom-dark: #000000;
JSON
{
  "hex": "#afbf67",
  "rgb": {
    "r": 175,
    "g": 191,
    "b": 103
  },
  "hsl": {
    "h": 70.909,
    "s": 40.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.77284,
    "c": 0.11469,
    "h": 117.6
  },
  "luminance": 0.47355
}

Semantic roles & 50–950 ramp

primary
#AFBF67
secondary
#B6AFD3
accent
#57D16D
background
#FCFCF9
surface
#F8F9F1
border
#D1D2CB
text
#13140D
muted
#82827E

Preview Lab

Preview with #AFBF67

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

Preview Lab → · Contrast checker → · Palette generator →

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