#AFCA3B#AFCA3B

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

Color values

HEX#AFCA3B
RGBrgb(175, 202, 59)
HSLhsl(71, 57%, 51%)
HSVhsv(71, 71%, 79%)
CMYKcmyk(13.4%, 0%, 70.8%, 20.8%)
CIE-LABlab(77.08, -27.81, 64.53)
CIE-LCHlch(77.08, 70.27, 113.32°)
OKLaboklab(79.29% -0.0822 0.144)
OKLCHoklch(79.29% 0.166 119.7)
XYZxyz(39.5899, 51.6710, 12.0247)
Luminance0.5167 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA3B #563BCA
analogous
#CA9D3B #AFCA3B #67CA3B
triadic
#AFCA3B #3BAFCA #CA3BAF
tetradic
#AFCA3B #3BCA9D #563BCA #CA3B67
square
#AFCA3B #3BCA9D #563BCA #CA3B67
split-complementary
#AFCA3B #3B67CA #9D3BCA
monochromatic
#5E6D1E #889D2B #AFCA3B #C3D76B #D6E49B

Accessibility & contrast

On white

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

On black

11.33
#AFCA3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA3B
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA3B#FFFFFF#000000##000000
##AFCA3B1.001.8511.3311.33
#FFFFFF1.851.0021.0021.00
#00000011.3321.001.001.00
##00000011.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afca3b;
/* rgb */ color: rgb(175, 202, 59);
/* oklch */ color: oklch(79.3% 0.166 119.7);
Tailwind
colors: {
  custom: {
    50: '#cada7a',
    500: '#afca3b',
    950: '#000000',
  },
}
SCSS
$custom: #afca3b;
$custom-light: #cada7a;
$custom-dark: #000000;
JSON
{
  "hex": "#afca3b",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 59
  },
  "hsl": {
    "h": 71.329,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.79293,
    "c": 0.16584,
    "h": 119.7
  },
  "luminance": 0.51671
}

Semantic roles & 50–950 ramp

primary
#AFCA3B
secondary
#3F3377
accent
#47E164
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #AFCA3B

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

Preview Lab → · Contrast checker → · Palette generator →

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