#AFC049#AFC049

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

Color values

HEX#AFC049
RGBrgb(175, 192, 73)
HSLhsl(69, 49%, 52%)
HSVhsv(69, 62%, 75%)
CMYKcmyk(8.9%, 0%, 62%, 24.7%)
CIE-LABlab(74.38, -22.08, 56.24)
CIE-LCHlch(74.38, 60.42, 111.44°)
OKLaboklab(77.15% -0.0649 0.1286)
OKLCHoklch(77.15% 0.144 116.8)
XYZxyz(37.7322, 47.2947, 13.4431)
Luminance0.4729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC049 #5A49C0
analogous
#C09549 #AFC049 #74C049
triadic
#AFC049 #49AFC0 #C049AF
tetradic
#AFC049 #49C095 #5A49C0 #C04974
square
#AFC049 #49C095 #5A49C0 #C04974
split-complementary
#AFC049 #4974C0 #9549C0
monochromatic
#606A25 #899734 #AFC049 #C3D076 #D7DFA4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFC049#FFFFFF#000000##000000
##AFC0491.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)
#CCB63B
Deuteranopia (green-blind)
#CBB851
Tritanopia (blue-blind)
#B9B6A7
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #afc049;
/* rgb */ color: rgb(175, 192, 73);
/* oklch */ color: oklch(77.2% 0.144 116.8);
Tailwind
colors: {
  custom: {
    50: '#c9d381',
    500: '#afc049',
    950: '#000000',
  },
}
SCSS
$custom: #afc049;
$custom-light: #c9d381;
$custom-dark: #000000;
JSON
{
  "hex": "#afc049",
  "rgb": {
    "r": 175,
    "g": 192,
    "b": 73
  },
  "hsl": {
    "h": 68.571,
    "s": 48.571,
    "l": 51.961
  },
  "oklch": {
    "l": 0.77151,
    "c": 0.14409,
    "h": 116.8
  },
  "luminance": 0.47294
}

Semantic roles & 50–950 ramp

primary
#AFC049
secondary
#A098CC
accent
#50D863
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140B
muted
#82827C

Preview Lab

Preview with #AFC049

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

Preview Lab → · Contrast checker → · Palette generator →

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