#AFC048#AFC048

#AFC048 is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.1% C 0.145 H 116.8°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#AFC048
RGBrgb(175, 192, 72)
HSLhsl(69, 49%, 52%)
HSVhsv(69, 63%, 75%)
CMYKcmyk(8.9%, 0%, 62.5%, 24.7%)
CIE-LABlab(74.37, -22.16, 56.65)
CIE-LCHlch(74.37, 60.83, 111.36°)
OKLaboklab(77.14% -0.0652 0.1294)
OKLCHoklch(77.14% 0.145 116.8)
XYZxyz(37.6993, 47.2816, 13.2699)
Luminance0.4728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC048 #5948C0
analogous
#C09548 #AFC048 #73C048
triadic
#AFC048 #48AFC0 #C048AF
tetradic
#AFC048 #48C095 #5948C0 #C04873
square
#AFC048 #48C095 #5948C0 #C04873
split-complementary
#AFC048 #4873C0 #9548C0
monochromatic
#606924 #899734 #AFC048 #C3D076 #D7DFA3

Accessibility & contrast

On white

2.01
#AFC048 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.46
#AFC048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC048
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC048#FFFFFF#000000##000000
##AFC0481.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB639
Deuteranopia (green-blind)
#CBB850
Tritanopia (blue-blind)
#B9B6A7
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #afc048;
/* rgb */ color: rgb(175, 192, 72);
/* oklch */ color: oklch(77.1% 0.145 116.8);
Tailwind
colors: {
  custom: {
    50: '#cad380',
    500: '#afc048',
    950: '#000000',
  },
}
SCSS
$custom: #afc048;
$custom-light: #cad380;
$custom-dark: #000000;
JSON
{
  "hex": "#afc048",
  "rgb": {
    "r": 175,
    "g": 192,
    "b": 72
  },
  "hsl": {
    "h": 68.5,
    "s": 48.78,
    "l": 51.765
  },
  "oklch": {
    "l": 0.77142,
    "c": 0.14488,
    "h": 116.8
  },
  "luminance": 0.47281
}

Semantic roles & 50–950 ramp

primary
#AFC048
secondary
#9F98CC
accent
#4FD863
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140B
muted
#82827C

Preview Lab

Preview with #AFC048

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

Preview Lab → · Contrast checker → · Palette generator →

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