#AFCA75#AFCA75

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

Color values

HEX#AFCA75
RGBrgb(175, 202, 117)
HSLhsl(79, 45%, 63%)
HSVhsv(79, 42%, 79%)
CMYKcmyk(13.4%, 0%, 42.1%, 20.8%)
CIE-LABlab(77.66, -22.84, 39.39)
CIE-LCHlch(77.66, 45.53, 120.11°)
OKLaboklab(79.94% -0.0631 0.0958)
OKLCHoklch(79.94% 0.115 123.4)
XYZxyz(42.0105, 52.6392, 24.7733)
Luminance0.5264 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA75 #9075CA
analogous
#CABB75 #AFCA75 #84CA75
triadic
#AFCA75 #75AFCA #CA75AF
tetradic
#AFCA75 #75CABB #9075CA #CA7584
square
#AFCA75 #75CABB #9075CA #CA7584
split-complementary
#AFCA75 #7584CA #BB75CA
monochromatic
#728E37 #95B949 #AFCA75 #C9DBA1 #E2ECCD

Accessibility & contrast

On white

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

On black

11.53
#AFCA75 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA75
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA75#FFFFFF#000000##000000
##AFCA751.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afca75;
/* rgb */ color: rgb(175, 202, 117);
/* oklch */ color: oklch(79.9% 0.115 123.4);
Tailwind
colors: {
  custom: {
    50: '#c8da9e',
    500: '#afca75',
    950: '#000000',
  },
}
SCSS
$custom: #afca75;
$custom-light: #c8da9e;
$custom-dark: #000000;
JSON
{
  "hex": "#afca75",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 117
  },
  "hsl": {
    "h": 79.059,
    "s": 44.503,
    "l": 62.549
  },
  "oklch": {
    "l": 0.79944,
    "c": 0.11474,
    "h": 123.4
  },
  "luminance": 0.52639
}

Semantic roles & 50–950 ramp

primary
#AFCA75
secondary
#654E95
accent
#2EB85A
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13140E
muted
#82837F

Preview Lab

Preview with #AFCA75

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

Preview Lab → · Contrast checker → · Palette generator →

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