#AFCA65#AFCA65

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

Color values

HEX#AFCA65
RGBrgb(175, 202, 101)
HSLhsl(76, 49%, 59%)
HSVhsv(76, 50%, 79%)
CMYKcmyk(13.4%, 0%, 50%, 20.8%)
CIE-LABlab(77.46, -24.58, 47.00)
CIE-LCHlch(77.46, 53.04, 117.61°)
OKLaboklab(79.71% -0.0693 0.1117)
OKLCHoklch(79.71% 0.131 121.8)
XYZxyz(41.1489, 52.2946, 20.2355)
Luminance0.5230 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA65 #8065CA
analogous
#CAB365 #AFCA65 #7DCA65
triadic
#AFCA65 #65AFCA #CA65AF
tetradic
#AFCA65 #65CAB3 #8065CA #CA657D
square
#AFCA65 #65CAB3 #8065CA #CA657D
split-complementary
#AFCA65 #657DCA #B365CA
monochromatic
#6F862E #94B43E #AFCA65 #C7DA93 #DEE9C0

Accessibility & contrast

On white

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

On black

11.46
#AFCA65 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA65
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA65#FFFFFF#000000##000000
##AFCA651.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afca65;
/* rgb */ color: rgb(175, 202, 101);
/* oklch */ color: oklch(79.7% 0.131 121.8);
Tailwind
colors: {
  custom: {
    50: '#c9da93',
    500: '#afca65',
    950: '#000000',
  },
}
SCSS
$custom: #afca65;
$custom-light: #c9da93;
$custom-dark: #000000;
JSON
{
  "hex": "#afca65",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 101
  },
  "hsl": {
    "h": 76.04,
    "s": 48.792,
    "l": 59.412
  },
  "oklch": {
    "l": 0.79713,
    "c": 0.13146,
    "h": 121.8
  },
  "luminance": 0.52295
}

Semantic roles & 50–950 ramp

primary
#AFCA65
secondary
#59468E
accent
#4FD874
background
#FEFEFC
surface
#FAFBF4
border
#D3D4CE
text
#13140D
muted
#83837F

Preview Lab

Preview with #AFCA65

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

Preview Lab → · Contrast checker → · Palette generator →

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