#AFC849#AFC849

#AFC849 is a light, vivid yellow-green. Relative luminance 0.509; OKLCH L 79.0% C 0.154 H 119.6°. Best body text is #000000 at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#AFC849
RGBrgb(175, 200, 73)
HSLhsl(72, 54%, 54%)
HSVhsv(72, 64%, 78%)
CMYKcmyk(12.5%, 0%, 63.5%, 21.6%)
CIE-LABlab(76.62, -25.98, 58.64)
CIE-LCHlch(76.62, 64.14, 113.90°)
OKLaboklab(78.95% -0.0758 0.1337)
OKLCHoklch(78.95% 0.154 119.6)
XYZxyz(39.5367, 50.9038, 14.0446)
Luminance0.5090 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC849 #6249C8
analogous
#C8A149 #AFC849 #6FC849
triadic
#AFC849 #49AFC8 #C849AF
tetradic
#AFC849 #49C8A1 #6249C8 #C8496F
square
#AFC849 #49C8A1 #6249C8 #C8496F
split-complementary
#AFC849 #496FC8 #A149C8
monochromatic
#647423 #8CA331 #AFC849 #C4D678 #D8E4A7

Accessibility & contrast

On white

1.88
#AFC849 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.18
#AFC849 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC849
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC849#FFFFFF#000000##000000
##AFC8491.001.8811.1811.18
#FFFFFF1.881.0021.0021.00
#00000011.1821.001.001.00
##00000011.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD39
Deuteranopia (green-blind)
#D1BD52
Tritanopia (blue-blind)
#B8BEAE
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #afc849;
/* rgb */ color: rgb(175, 200, 73);
/* oklch */ color: oklch(79.0% 0.154 119.6);
Tailwind
colors: {
  custom: {
    50: '#cad882',
    500: '#afc849',
    950: '#000000',
  },
}
SCSS
$custom: #afc849;
$custom-light: #cad882;
$custom-dark: #000000;
JSON
{
  "hex": "#afc849",
  "rgb": {
    "r": 175,
    "g": 200,
    "b": 73
  },
  "hsl": {
    "h": 71.811,
    "s": 53.586,
    "l": 53.529
  },
  "oklch": {
    "l": 0.78953,
    "c": 0.1537,
    "h": 119.6
  },
  "luminance": 0.50904
}

Semantic roles & 50–950 ramp

primary
#AFC849
secondary
#46397D
accent
#4BDD68
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #AFC849

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

Preview Lab → · Contrast checker → · Palette generator →

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