#AFC148#AFC148

#AFC148 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.4% C 0.146 H 117.1°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#AFC148
RGBrgb(175, 193, 72)
HSLhsl(69, 49%, 52%)
HSVhsv(69, 63%, 76%)
CMYKcmyk(9.3%, 0%, 62.7%, 24.3%)
CIE-LABlab(74.65, -22.65, 56.95)
CIE-LCHlch(74.65, 61.29, 111.69°)
OKLaboklab(77.37% -0.0666 0.13)
OKLCHoklch(77.37% 0.146 117.1)
XYZxyz(37.9196, 47.7222, 13.3433)
Luminance0.4772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC148 #5A48C1
analogous
#C19748 #AFC148 #72C148
triadic
#AFC148 #48AFC1 #C148AF
tetradic
#AFC148 #48C197 #5A48C1 #C14872
square
#AFC148 #48C197 #5A48C1 #C14872
split-complementary
#AFC148 #4872C1 #9748C1
monochromatic
#606B24 #899834 #AFC148 #C3D076 #D7E0A3

Accessibility & contrast

On white

1.99
#AFC148 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.54
#AFC148 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC148
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC148#FFFFFF#000000##000000
##AFC1481.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB739
Deuteranopia (green-blind)
#CCB850
Tritanopia (blue-blind)
#B9B7A8
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #afc148;
/* rgb */ color: rgb(175, 193, 72);
/* oklch */ color: oklch(77.4% 0.146 117.1);
Tailwind
colors: {
  custom: {
    50: '#cad380',
    500: '#afc148',
    950: '#000000',
  },
}
SCSS
$custom: #afc148;
$custom-light: #cad380;
$custom-dark: #000000;
JSON
{
  "hex": "#afc148",
  "rgb": {
    "r": 175,
    "g": 193,
    "b": 72
  },
  "hsl": {
    "h": 68.926,
    "s": 49.388,
    "l": 51.961
  },
  "oklch": {
    "l": 0.77366,
    "c": 0.14607,
    "h": 117.1
  },
  "luminance": 0.47722
}

Semantic roles & 50–950 ramp

primary
#AFC148
secondary
#A098CD
accent
#4FD963
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140B
muted
#82827C

Preview Lab

Preview with #AFC148

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

Preview Lab → · Contrast checker → · Palette generator →

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