#AFC299#AFC299

#AFC299 is a light, muted yellow-green. Relative luminance 0.500; OKLCH L 78.9% C 0.060 H 128.0°. Best body text is #000000 at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#AFC299
RGBrgb(175, 194, 153)
HSLhsl(88, 25%, 68%)
HSVhsv(88, 21%, 76%)
CMYKcmyk(9.8%, 0%, 21.1%, 23.9%)
CIE-LABlab(76.07, -13.84, 18.51)
CIE-LCHlch(76.07, 23.11, 126.79°)
OKLaboklab(78.87% -0.0369 0.0473)
OKLCHoklch(78.87% 0.06 128)
XYZxyz(42.7199, 49.9972, 37.5306)
Luminance0.5000 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC299 #AC99C2
analogous
#C2C099 #AFC299 #9AC299
triadic
#AFC299 #99AFC2 #C299AF
tetradic
#AFC299 #99C2C0 #AC99C2 #C2999A
square
#AFC299 #99C2C0 #AC99C2 #C2999A
split-complementary
#AFC299 #999AC2 #C099C2
monochromatic
#728D54 #91AB73 #AFC299 #CDD9BF #EBF0E6

Accessibility & contrast

On white

1.91
#AFC299 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.00
#AFC299 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC299
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC299#FFFFFF#000000##000000
##AFC2991.001.9111.0011.00
#FFFFFF1.911.0021.0021.00
#00000011.0021.001.001.00
##00000011.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6BC97
Deuteranopia (green-blind)
#C4BB9B
Tritanopia (blue-blind)
#B1BEB7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #afc299;
/* rgb */ color: rgb(175, 194, 153);
/* oklch */ color: oklch(78.9% 0.060 128.0);
Tailwind
colors: {
  custom: {
    50: '#c7d4b7',
    500: '#afc299',
    950: '#000000',
  },
}
SCSS
$custom: #afc299;
$custom-light: #c7d4b7;
$custom-dark: #000000;
JSON
{
  "hex": "#afc299",
  "rgb": {
    "r": 175,
    "g": 194,
    "b": 153
  },
  "hsl": {
    "h": 87.805,
    "s": 25.153,
    "l": 68.039
  },
  "oklch": {
    "l": 0.78872,
    "c": 0.05999,
    "h": 128
  },
  "luminance": 0.49997
}

Semantic roles & 50–950 ramp

primary
#AFC299
secondary
#DBD5E2
accent
#42A46F
background
#FCFDFB
surface
#F8FAF6
border
#D1D3D0
text
#131411
muted
#828380

Preview Lab

Preview with #AFC299

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

Preview Lab → · Contrast checker → · Palette generator →

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