#AFC846#AFC846

#AFC846 is a light, vivid yellow-green. Relative luminance 0.509; OKLCH L 78.9% C 0.156 H 119.4°. Best body text is #000000 at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#AFC846
RGBrgb(175, 200, 70)
HSLhsl(72, 54%, 53%)
HSVhsv(72, 65%, 78%)
CMYKcmyk(12.5%, 0%, 65%, 21.6%)
CIE-LABlab(76.60, -26.19, 59.84)
CIE-LCHlch(76.60, 65.32, 113.64°)
OKLaboklab(78.93% -0.0767 0.1358)
OKLCHoklch(78.93% 0.156 119.4)
XYZxyz(39.4396, 50.8649, 13.5334)
Luminance0.5087 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC846 #5F46C8
analogous
#C8A046 #AFC846 #6EC846
triadic
#AFC846 #46AFC8 #C846AF
tetradic
#AFC846 #46C8A0 #5F46C8 #C8466E
square
#AFC846 #46C8A0 #5F46C8 #C8466E
split-complementary
#AFC846 #466EC8 #A046C8
monochromatic
#627222 #8BA130 #AFC846 #C3D675 #D8E4A4

Accessibility & contrast

On white

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

On black

11.17
#AFC846 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC846
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC846#FFFFFF#000000##000000
##AFC8461.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD35
Deuteranopia (green-blind)
#D1BD4F
Tritanopia (blue-blind)
#B9BEAD
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #afc846;
/* rgb */ color: rgb(175, 200, 70);
/* oklch */ color: oklch(78.9% 0.156 119.4);
Tailwind
colors: {
  custom: {
    50: '#cad880',
    500: '#afc846',
    950: '#000000',
  },
}
SCSS
$custom: #afc846;
$custom-light: #cad880;
$custom-dark: #000000;
JSON
{
  "hex": "#afc846",
  "rgb": {
    "r": 175,
    "g": 200,
    "b": 70
  },
  "hsl": {
    "h": 71.538,
    "s": 54.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.78926,
    "c": 0.15597,
    "h": 119.4
  },
  "luminance": 0.50865
}

Semantic roles & 50–950 ramp

primary
#AFC846
secondary
#44377B
accent
#4ADE67
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #AFC846

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

Preview Lab → · Contrast checker → · Palette generator →

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