#AFC843#AFC843

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

Color values

HEX#AFC843
RGBrgb(175, 200, 67)
HSLhsl(71, 55%, 52%)
HSVhsv(71, 67%, 78%)
CMYKcmyk(12.5%, 0%, 66.5%, 21.6%)
CIE-LABlab(76.57, -26.38, 61.01)
CIE-LCHlch(76.57, 66.47, 113.39°)
OKLaboklab(78.9% -0.0775 0.1379)
OKLCHoklch(78.9% 0.158 119.3)
XYZxyz(39.3473, 50.8280, 13.0470)
Luminance0.5083 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC843 #5C43C8
analogous
#C89E43 #AFC843 #6DC843
triadic
#AFC843 #43AFC8 #C843AF
tetradic
#AFC843 #43C89E #5C43C8 #C8436D
square
#AFC843 #43C89E #5C43C8 #C8436D
split-complementary
#AFC843 #436DC8 #9E43C8
monochromatic
#617021 #8A9F2F #AFC843 #C3D672 #D7E4A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFC843#FFFFFF#000000##000000
##AFC8431.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)
#D4BD30
Deuteranopia (green-blind)
#D2BD4D
Tritanopia (blue-blind)
#B9BEAD
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #afc843;
/* rgb */ color: rgb(175, 200, 67);
/* oklch */ color: oklch(78.9% 0.158 119.3);
Tailwind
colors: {
  custom: {
    50: '#cad87e',
    500: '#afc843',
    950: '#000000',
  },
}
SCSS
$custom: #afc843;
$custom-light: #cad87e;
$custom-dark: #000000;
JSON
{
  "hex": "#afc843",
  "rgb": {
    "r": 175,
    "g": 200,
    "b": 67
  },
  "hsl": {
    "h": 71.278,
    "s": 54.733,
    "l": 52.353
  },
  "oklch": {
    "l": 0.78901,
    "c": 0.15814,
    "h": 119.3
  },
  "luminance": 0.50828
}

Semantic roles & 50–950 ramp

primary
#AFC843
secondary
#433679
accent
#4ADE66
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #AFC843

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

Preview Lab → · Contrast checker → · Palette generator →

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