#AFCF3A#AFCF3A

#AFCF3A is a light, vivid yellow-green. Relative luminance 0.540; OKLCH L 80.4% C 0.172 H 121.1°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#AFCF3A
RGBrgb(175, 207, 58)
HSLhsl(73, 61%, 52%)
HSVhsv(73, 72%, 81%)
CMYKcmyk(15.5%, 0%, 72%, 18.8%)
CIE-LABlab(78.49, -30.23, 66.26)
CIE-LCHlch(78.49, 72.83, 114.53°)
OKLaboklab(80.42% -0.089 0.1475)
OKLCHoklch(80.42% 0.172 121.1)
XYZxyz(40.7564, 54.0451, 12.2868)
Luminance0.5404 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF3A #5A3ACF
analogous
#CFA53A #AFCF3A #65CF3A
triadic
#AFCF3A #3AAFCF #CF3AAF
tetradic
#AFCF3A #3ACFA5 #5A3ACF #CF3A65
square
#AFCF3A #3ACFA5 #5A3ACF #CF3A65
split-complementary
#AFCF3A #3A65CF #A53ACF
monochromatic
#60731C #89A428 #AFCF3A #C3DB6B #D7E79C

Accessibility & contrast

On white

1.78
#AFCF3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.81
#AFCF3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCF3A
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCF3A#FFFFFF#000000##000000
##AFCF3A1.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC31E
Deuteranopia (green-blind)
#D8C247
Tritanopia (blue-blind)
#B9C4B2
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afcf3a;
/* rgb */ color: rgb(175, 207, 58);
/* oklch */ color: oklch(80.4% 0.172 121.1);
Tailwind
colors: {
  custom: {
    50: '#cadd7a',
    500: '#afcf3a',
    950: '#000000',
  },
}
SCSS
$custom: #afcf3a;
$custom-light: #cadd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf3a",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 58
  },
  "hsl": {
    "h": 72.886,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.80423,
    "c": 0.17225,
    "h": 121.1
  },
  "luminance": 0.54045
}

Semantic roles & 50–950 ramp

primary
#AFCF3A
secondary
#42327B
accent
#44E466
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFCF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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