#AFC799#AFC799

#AFC799 is a light, moderate yellow-green. Relative luminance 0.523; OKLCH L 80.0% C 0.068 H 130.3°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#AFC799
RGBrgb(175, 199, 153)
HSLhsl(91, 29%, 69%)
HSVhsv(91, 23%, 78%)
CMYKcmyk(12.1%, 0%, 23.1%, 22%)
CIE-LABlab(77.44, -16.39, 20.40)
CIE-LCHlch(77.44, 26.17, 128.78°)
OKLaboklab(79.96% -0.044 0.052)
OKLCHoklch(79.96% 0.068 130.3)
XYZxyz(43.8515, 52.2603, 37.9078)
Luminance0.5226 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC799 #B199C7
analogous
#C6C799 #AFC799 #99C79A
triadic
#AFC799 #99AFC7 #C799AF
tetradic
#AFC799 #99C6C7 #B199C7 #C79A99
square
#AFC799 #99C6C7 #B199C7 #C79A99
split-complementary
#AFC799 #9A99C7 #C799C6
monochromatic
#719451 #90B171 #AFC799 #CEDDC1 #EDF2E8

Accessibility & contrast

On white

1.83
#AFC799 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.45
#AFC799 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC799
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC799#FFFFFF#000000##000000
##AFC7991.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCC096
Deuteranopia (green-blind)
#C8BF9B
Tritanopia (blue-blind)
#B1C3BA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #afc799;
/* rgb */ color: rgb(175, 199, 153);
/* oklch */ color: oklch(80.0% 0.068 130.3);
Tailwind
colors: {
  custom: {
    50: '#c7d8b7',
    500: '#afc799',
    950: '#000000',
  },
}
SCSS
$custom: #afc799;
$custom-light: #c7d8b7;
$custom-dark: #000000;
JSON
{
  "hex": "#afc799",
  "rgb": {
    "r": 175,
    "g": 199,
    "b": 153
  },
  "hsl": {
    "h": 91.304,
    "s": 29.114,
    "l": 69.02
  },
  "oklch": {
    "l": 0.79962,
    "c": 0.06809,
    "h": 130.3
  },
  "luminance": 0.52261
}

Semantic roles & 50–950 ramp

primary
#AFC799
secondary
#83699C
accent
#3EA875
background
#FDFEFD
surface
#F9FBF8
border
#D2D4D1
text
#131411
muted
#828381

Preview Lab

Preview with #AFC799

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

Preview Lab → · Contrast checker → · Palette generator →

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