#AFC875#AFC875

#AFC875 is a light, moderate yellow-green. Relative luminance 0.517; OKLCH L 79.5% C 0.112 H 122.6°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#AFC875
RGBrgb(175, 200, 117)
HSLhsl(78, 43%, 62%)
HSVhsv(78, 42%, 78%)
CMYKcmyk(12.5%, 0%, 41.5%, 21.6%)
CIE-LABlab(77.11, -21.86, 38.69)
CIE-LCHlch(77.11, 44.43, 119.47°)
OKLaboklab(79.5% -0.0604 0.0942)
OKLCHoklch(79.5% 0.112 122.6)
XYZxyz(41.5443, 51.7068, 24.6179)
Luminance0.5171 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC875 #8E75C8
analogous
#C8B775 #AFC875 #86C875
triadic
#AFC875 #75AFC8 #C875AF
tetradic
#AFC875 #75C8B7 #8E75C8 #C87586
square
#AFC875 #75C8B7 #8E75C8 #C87586
split-complementary
#AFC875 #7586C8 #B775C8
monochromatic
#728B37 #96B749 #AFC875 #C8D9A1 #E2EBCD

Accessibility & contrast

On white

1.85
#AFC875 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.34
#AFC875 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC875
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC875#FFFFFF#000000##000000
##AFC8751.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BF6F
Deuteranopia (green-blind)
#CEBE79
Tritanopia (blue-blind)
#B5C1B4
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #afc875;
/* rgb */ color: rgb(175, 200, 117);
/* oklch */ color: oklch(79.5% 0.112 122.6);
Tailwind
colors: {
  custom: {
    50: '#c8d89e',
    500: '#afc875',
    950: '#000000',
  },
}
SCSS
$custom: #afc875;
$custom-light: #c8d89e;
$custom-dark: #000000;
JSON
{
  "hex": "#afc875",
  "rgb": {
    "r": 175,
    "g": 200,
    "b": 117
  },
  "hsl": {
    "h": 78.072,
    "s": 43.005,
    "l": 62.157
  },
  "oklch": {
    "l": 0.79498,
    "c": 0.1119,
    "h": 122.6
  },
  "luminance": 0.51707
}

Semantic roles & 50–950 ramp

primary
#AFC875
secondary
#634F92
accent
#2FB658
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13140E
muted
#82837F

Preview Lab

Preview with #AFC875

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

Preview Lab → · Contrast checker → · Palette generator →

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