#AFC847#AFC847

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

Color values

HEX#AFC847
RGBrgb(175, 200, 71)
HSLhsl(72, 54%, 53%)
HSVhsv(72, 65%, 78%)
CMYKcmyk(12.5%, 0%, 64.5%, 21.6%)
CIE-LABlab(76.60, -26.12, 59.44)
CIE-LCHlch(76.60, 64.93, 113.72°)
OKLaboklab(78.94% -0.0764 0.1351)
OKLCHoklch(78.94% 0.155 119.5)
XYZxyz(39.4714, 50.8777, 13.7010)
Luminance0.5088 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC847 #6047C8
analogous
#C8A047 #AFC847 #6EC847
triadic
#AFC847 #47AFC8 #C847AF
tetradic
#AFC847 #47C8A0 #6047C8 #C8476E
square
#AFC847 #47C8A0 #6047C8 #C8476E
split-complementary
#AFC847 #476EC8 #A047C8
monochromatic
#637222 #8CA230 #AFC847 #C3D676 #D8E4A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFC847#FFFFFF#000000##000000
##AFC8471.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)
#D4BD36
Deuteranopia (green-blind)
#D1BD50
Tritanopia (blue-blind)
#B9BEAD
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #afc847;
/* rgb */ color: rgb(175, 200, 71);
/* oklch */ color: oklch(78.9% 0.155 119.5);
Tailwind
colors: {
  custom: {
    50: '#cad880',
    500: '#afc847',
    950: '#000000',
  },
}
SCSS
$custom: #afc847;
$custom-light: #cad880;
$custom-dark: #000000;
JSON
{
  "hex": "#afc847",
  "rgb": {
    "r": 175,
    "g": 200,
    "b": 71
  },
  "hsl": {
    "h": 71.628,
    "s": 53.975,
    "l": 53.137
  },
  "oklch": {
    "l": 0.78935,
    "c": 0.15522,
    "h": 119.5
  },
  "luminance": 0.50877
}

Semantic roles & 50–950 ramp

primary
#AFC847
secondary
#45387B
accent
#4ADD67
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #AFC847

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

Preview Lab → · Contrast checker → · Palette generator →

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