#AFCA67#AFCA67

#AFCA67 is a light, vivid yellow-green. Relative luminance 0.523; OKLCH L 79.7% C 0.129 H 122.0°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#AFCA67
RGBrgb(175, 202, 103)
HSLhsl(76, 48%, 60%)
HSVhsv(76, 49%, 79%)
CMYKcmyk(13.4%, 0%, 49%, 20.8%)
CIE-LABlab(77.48, -24.38, 46.07)
CIE-LCHlch(77.48, 52.12, 117.89°)
OKLaboklab(79.74% -0.0685 0.1098)
OKLCHoklch(79.74% 0.129 122)
XYZxyz(41.2481, 52.3343, 20.7578)
Luminance0.5233 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA67 #8267CA
analogous
#CAB467 #AFCA67 #7DCA67
triadic
#AFCA67 #67AFCA #CA67AF
tetradic
#AFCA67 #67CAB4 #8267CA #CA677D
square
#AFCA67 #67CAB4 #8267CA #CA677D
split-complementary
#AFCA67 #677DCA #B467CA
monochromatic
#6F872F #95B53F #AFCA67 #C7DA94 #DFEAC2

Accessibility & contrast

On white

1.83
#AFCA67 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.47
#AFCA67 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA67
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA67#FFFFFF#000000##000000
##AFCA671.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C05E
Deuteranopia (green-blind)
#D1BF6D
Tritanopia (blue-blind)
#B6C1B3
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #afca67;
/* rgb */ color: rgb(175, 202, 103);
/* oklch */ color: oklch(79.7% 0.129 122.0);
Tailwind
colors: {
  custom: {
    50: '#c8da94',
    500: '#afca67',
    950: '#000000',
  },
}
SCSS
$custom: #afca67;
$custom-light: #c8da94;
$custom-dark: #000000;
JSON
{
  "hex": "#afca67",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 103
  },
  "hsl": {
    "h": 76.364,
    "s": 48.293,
    "l": 59.804
  },
  "oklch": {
    "l": 0.7974,
    "c": 0.12946,
    "h": 122
  },
  "luminance": 0.52334
}

Semantic roles & 50–950 ramp

primary
#AFCA67
secondary
#5A478F
accent
#50D875
background
#FEFEFC
surface
#FAFBF4
border
#D3D4CE
text
#13140D
muted
#83837F

Preview Lab

Preview with #AFCA67

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

Preview Lab → · Contrast checker → · Palette generator →

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