#AFCA43#AFCA43

#AFCA43 is a light, vivid yellow-green. Relative luminance 0.518; OKLCH L 79.4% C 0.161 H 120.0°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#AFCA43
RGBrgb(175, 202, 67)
HSLhsl(72, 56%, 53%)
HSVhsv(72, 67%, 79%)
CMYKcmyk(13.4%, 0%, 66.8%, 20.8%)
CIE-LABlab(77.14, -27.34, 61.59)
CIE-LCHlch(77.14, 67.39, 113.94°)
OKLaboklab(79.35% -0.0802 0.1391)
OKLCHoklch(79.35% 0.161 120)
XYZxyz(39.8135, 51.7604, 13.2024)
Luminance0.5176 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA43 #5E43CA
analogous
#CAA243 #AFCA43 #6BCA43
triadic
#AFCA43 #43AFCA #CA43AF
tetradic
#AFCA43 #43CAA2 #5E43CA #CA436B
square
#AFCA43 #43CAA2 #5E43CA #CA436B
split-complementary
#AFCA43 #436BCA #A243CA
monochromatic
#627220 #8BA22E #AFCA43 #C3D773 #D8E5A2

Accessibility & contrast

On white

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

On black

11.35
#AFCA43 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA43
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA43#FFFFFF#000000##000000
##AFCA431.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF2F
Deuteranopia (green-blind)
#D3BF4D
Tritanopia (blue-blind)
#B9C0AF
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #afca43;
/* rgb */ color: rgb(175, 202, 67);
/* oklch */ color: oklch(79.4% 0.161 120.0);
Tailwind
colors: {
  custom: {
    50: '#cada7e',
    500: '#afca43',
    950: '#000000',
  },
}
SCSS
$custom: #afca43;
$custom-light: #cada7e;
$custom-dark: #000000;
JSON
{
  "hex": "#afca43",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 67
  },
  "hsl": {
    "h": 72,
    "s": 56.017,
    "l": 52.745
  },
  "oklch": {
    "l": 0.79354,
    "c": 0.16052,
    "h": 120
  },
  "luminance": 0.5176
}

Semantic roles & 50–950 ramp

primary
#AFCA43
secondary
#44367B
accent
#48DF67
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #AFCA43

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

Preview Lab → · Contrast checker → · Palette generator →

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