#AFC848#AFC848

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

Color values

HEX#AFC848
RGBrgb(175, 200, 72)
HSLhsl(72, 54%, 53%)
HSVhsv(72, 64%, 78%)
CMYKcmyk(12.5%, 0%, 64%, 21.6%)
CIE-LABlab(76.61, -26.05, 59.04)
CIE-LCHlch(76.61, 64.53, 113.81°)
OKLaboklab(78.94% -0.0761 0.1344)
OKLCHoklch(78.94% 0.154 119.5)
XYZxyz(39.5038, 50.8906, 13.8714)
Luminance0.5089 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC848 #6148C8
analogous
#C8A148 #AFC848 #6FC848
triadic
#AFC848 #48AFC8 #C848AF
tetradic
#AFC848 #48C8A1 #6148C8 #C8486F
square
#AFC848 #48C8A1 #6148C8 #C8486F
split-complementary
#AFC848 #486FC8 #A148C8
monochromatic
#637323 #8CA231 #AFC848 #C4D677 #D8E4A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFC848#FFFFFF#000000##000000
##AFC8481.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)
#D4BD37
Deuteranopia (green-blind)
#D1BD51
Tritanopia (blue-blind)
#B9BEAE
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #afc848;
/* rgb */ color: rgb(175, 200, 72);
/* oklch */ color: oklch(78.9% 0.154 119.5);
Tailwind
colors: {
  custom: {
    50: '#cad881',
    500: '#afc848',
    950: '#000000',
  },
}
SCSS
$custom: #afc848;
$custom-light: #cad881;
$custom-dark: #000000;
JSON
{
  "hex": "#afc848",
  "rgb": {
    "r": 175,
    "g": 200,
    "b": 72
  },
  "hsl": {
    "h": 71.719,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.78944,
    "c": 0.15447,
    "h": 119.5
  },
  "luminance": 0.5089
}

Semantic roles & 50–950 ramp

primary
#AFC848
secondary
#45387C
accent
#4BDD67
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #AFC848

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

Preview Lab → · Contrast checker → · Palette generator →

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