#AFCF74#AFCF74

#AFCF74 is a light, vivid yellow-green. Relative luminance 0.550; OKLCH L 81.0% C 0.123 H 124.9°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#AFCF74
RGBrgb(175, 207, 116)
HSLhsl(81, 49%, 63%)
HSVhsv(81, 44%, 81%)
CMYKcmyk(15.5%, 0%, 44%, 18.8%)
CIE-LABlab(79.04, -25.40, 41.62)
CIE-LCHlch(79.04, 48.76, 121.39°)
OKLaboklab(81.05% -0.0704 0.1008)
OKLCHoklch(81.05% 0.123 124.9)
XYZxyz(43.1442, 55.0003, 24.8627)
Luminance0.5500 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF74 #9474CF
analogous
#CFC174 #AFCF74 #81CF74
triadic
#AFCF74 #74AFCF #CF74AF
tetradic
#AFCF74 #74CFC1 #9474CF #CF7481
square
#AFCF74 #74CFC1 #9474CF #CF7481
split-complementary
#AFCF74 #7481CF #C174CF
monochromatic
#739533 #95BF47 #AFCF74 #C9DFA1 #E3EECF

Accessibility & contrast

On white

1.75
#AFCF74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.00
#AFCF74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCF74
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCF74#FFFFFF#000000##000000
##AFCF741.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C56D
Deuteranopia (green-blind)
#D3C379
Tritanopia (blue-blind)
#B4C7B9
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #afcf74;
/* rgb */ color: rgb(175, 207, 116);
/* oklch */ color: oklch(81.0% 0.123 124.9);
Tailwind
colors: {
  custom: {
    50: '#c8dd9d',
    500: '#afcf74',
    950: '#000000',
  },
}
SCSS
$custom: #afcf74;
$custom-light: #c8dd9d;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf74",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 116
  },
  "hsl": {
    "h": 81.099,
    "s": 48.663,
    "l": 63.333
  },
  "oklch": {
    "l": 0.81047,
    "c": 0.12294,
    "h": 124.9
  },
  "luminance": 0.55001
}

Semantic roles & 50–950 ramp

primary
#AFCF74
secondary
#684C9B
accent
#2ABC5D
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#13150E
muted
#82847F

Preview Lab

Preview with #AFCF74

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

Preview Lab → · Contrast checker → · Palette generator →

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