#AFCA74#AFCA74

#AFCA74 is a light, moderate yellow-green. Relative luminance 0.526; OKLCH L 79.9% C 0.116 H 123.3°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#AFCA74
RGBrgb(175, 202, 116)
HSLhsl(79, 45%, 62%)
HSVhsv(79, 43%, 79%)
CMYKcmyk(13.4%, 0%, 42.6%, 20.8%)
CIE-LABlab(77.65, -22.96, 39.87)
CIE-LCHlch(77.65, 46.01, 119.94°)
OKLaboklab(79.93% -0.0635 0.0969)
OKLCHoklch(79.93% 0.116 123.3)
XYZxyz(41.9520, 52.6158, 24.4653)
Luminance0.5262 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA74 #8F74CA
analogous
#CABA74 #AFCA74 #84CA74
triadic
#AFCA74 #74AFCA #CA74AF
tetradic
#AFCA74 #74CABA #8F74CA #CA7484
square
#AFCA74 #74CABA #8F74CA #CA7484
split-complementary
#AFCA74 #7484CA #BA74CA
monochromatic
#728E36 #96B948 #AFCA74 #C9DBA0 #E2ECCD

Accessibility & contrast

On white

1.82
#AFCA74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.52
#AFCA74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA74
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA74#FFFFFF#000000##000000
##AFCA741.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C16D
Deuteranopia (green-blind)
#CFC078
Tritanopia (blue-blind)
#B5C2B5
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afca74;
/* rgb */ color: rgb(175, 202, 116);
/* oklch */ color: oklch(79.9% 0.116 123.3);
Tailwind
colors: {
  custom: {
    50: '#c8da9d',
    500: '#afca74',
    950: '#000000',
  },
}
SCSS
$custom: #afca74;
$custom-light: #c8da9d;
$custom-dark: #000000;
JSON
{
  "hex": "#afca74",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 116
  },
  "hsl": {
    "h": 78.837,
    "s": 44.792,
    "l": 62.353
  },
  "oklch": {
    "l": 0.79929,
    "c": 0.11584,
    "h": 123.3
  },
  "luminance": 0.52616
}

Semantic roles & 50–950 ramp

primary
#AFCA74
secondary
#644E95
accent
#2EB859
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13140E
muted
#82837F

Preview Lab

Preview with #AFCA74

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

Preview Lab → · Contrast checker → · Palette generator →

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