#AFCF75#AFCF75

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

Color values

HEX#AFCF75
RGBrgb(175, 207, 117)
HSLhsl(81, 48%, 64%)
HSVhsv(81, 43%, 81%)
CMYKcmyk(15.5%, 0%, 43.5%, 18.8%)
CIE-LABlab(79.05, -25.28, 41.14)
CIE-LCHlch(79.05, 48.29, 121.57°)
OKLaboklab(81.06% -0.07 0.0998)
OKLCHoklch(81.06% 0.122 125.1)
XYZxyz(43.2027, 55.0237, 25.1707)
Luminance0.5502 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF75 #9575CF
analogous
#CFC275 #AFCF75 #82CF75
triadic
#AFCF75 #75AFCF #CF75AF
tetradic
#AFCF75 #75CFC2 #9575CF #CF7582
square
#AFCF75 #75CFC2 #9575CF #CF7582
split-complementary
#AFCF75 #7582CF #C275CF
monochromatic
#739634 #95BF48 #AFCF75 #C9DFA2 #E4EFD0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFCF75#FFFFFF#000000##000000
##AFCF751.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)
#D8C56E
Deuteranopia (green-blind)
#D3C37A
Tritanopia (blue-blind)
#B4C7B9
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #afcf75;
/* rgb */ color: rgb(175, 207, 117);
/* oklch */ color: oklch(81.1% 0.122 125.1);
Tailwind
colors: {
  custom: {
    50: '#c8dd9e',
    500: '#afcf75',
    950: '#000000',
  },
}
SCSS
$custom: #afcf75;
$custom-light: #c8dd9e;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf75",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 117
  },
  "hsl": {
    "h": 81.333,
    "s": 48.387,
    "l": 63.529
  },
  "oklch": {
    "l": 0.81062,
    "c": 0.12188,
    "h": 125.1
  },
  "luminance": 0.55024
}

Semantic roles & 50–950 ramp

primary
#AFCF75
secondary
#694D9B
accent
#2ABC5E
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#13150E
muted
#82847F

Preview Lab

Preview with #AFCF75

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

Preview Lab → · Contrast checker → · Palette generator →

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