#AFCA3F#AFCA3F

#AFCA3F is a light, vivid yellow-green. Relative luminance 0.517; OKLCH L 79.3% C 0.163 H 119.8°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#AFCA3F
RGBrgb(175, 202, 63)
HSLhsl(72, 57%, 52%)
HSVhsv(72, 69%, 79%)
CMYKcmyk(13.4%, 0%, 68.8%, 20.8%)
CIE-LABlab(77.11, -27.59, 63.09)
CIE-LCHlch(77.11, 68.86, 113.62°)
OKLaboklab(79.32% -0.0812 0.1416)
OKLCHoklch(79.32% 0.163 119.8)
XYZxyz(39.6976, 51.7141, 12.5922)
Luminance0.5171 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA3F #5A3FCA
analogous
#CAA03F #AFCA3F #69CA3F
triadic
#AFCA3F #3FAFCA #CA3FAF
tetradic
#AFCA3F #3FCAA0 #5A3FCA #CA3F69
square
#AFCA3F #3FCAA0 #5A3FCA #CA3F69
split-complementary
#AFCA3F #3F69CA #A03FCA
monochromatic
#60701F #89A02C #AFCA3F #C3D76F #D7E49F

Accessibility & contrast

On white

1.85
#AFCA3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.34
#AFCA3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA3F
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA3F#FFFFFF#000000##000000
##AFCA3F1.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF29
Deuteranopia (green-blind)
#D3BF4A
Tritanopia (blue-blind)
#B9BFAE
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #afca3f;
/* rgb */ color: rgb(175, 202, 63);
/* oklch */ color: oklch(79.3% 0.163 119.8);
Tailwind
colors: {
  custom: {
    50: '#cada7c',
    500: '#afca3f',
    950: '#000000',
  },
}
SCSS
$custom: #afca3f;
$custom-light: #cada7c;
$custom-dark: #000000;
JSON
{
  "hex": "#afca3f",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 63
  },
  "hsl": {
    "h": 71.655,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.79322,
    "c": 0.16325,
    "h": 119.8
  },
  "luminance": 0.51714
}

Semantic roles & 50–950 ramp

primary
#AFCA3F
secondary
#423479
accent
#48E065
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #AFCA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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