#AFCA2E#AFCA2E

#AFCA2E is a light, vivid yellow-green. Relative luminance 0.516; OKLCH L 79.2% C 0.173 H 119.4°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#AFCA2E
RGBrgb(175, 202, 46)
HSLhsl(70, 63%, 49%)
HSVhsv(70, 77%, 79%)
CMYKcmyk(13.4%, 0%, 77.2%, 20.8%)
CIE-LABlab(77.01, -28.44, 68.75)
CIE-LCHlch(77.01, 74.40, 112.47°)
OKLaboklab(79.21% -0.085 0.1508)
OKLCHoklch(79.21% 0.173 119.4)
XYZxyz(39.2937, 51.5525, 10.4648)
Luminance0.5155 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA2E #492ECA
analogous
#CA972E #AFCA2E #61CA2E
triadic
#AFCA2E #2EAFCA #CA2EAF
tetradic
#AFCA2E #2ECA97 #492ECA #CA2E61
square
#AFCA2E #2ECA97 #492ECA #CA2E61
split-complementary
#AFCA2E #2E61CA #972ECA
monochromatic
#596617 #849823 #AFCA2E #C4DA5B #D6E58D

Accessibility & contrast

On white

1.86
#AFCA2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.31
#AFCA2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA2E
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA2E#FFFFFF#000000##000000
##AFCA2E1.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE00
Deuteranopia (green-blind)
#D4BF3D
Tritanopia (blue-blind)
#B9BFAD
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #afca2e;
/* rgb */ color: rgb(175, 202, 46);
/* oklch */ color: oklch(79.2% 0.173 119.4);
Tailwind
colors: {
  custom: {
    50: '#cbda74',
    500: '#afca2e',
    950: '#000000',
  },
}
SCSS
$custom: #afca2e;
$custom-light: #cbda74;
$custom-dark: #000000;
JSON
{
  "hex": "#afca2e",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 46
  },
  "hsl": {
    "h": 70.385,
    "s": 62.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.79213,
    "c": 0.17308,
    "h": 119.4
  },
  "luminance": 0.51552
}

Semantic roles & 50–950 ramp

primary
#AFCA2E
secondary
#382C70
accent
#42E65E
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #AFCA2E

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

Preview Lab → · Contrast checker → · Palette generator →

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