#AFC349#AFC349

#AFC349 is a light, vivid yellow. Relative luminance 0.486; OKLCH L 77.8% C 0.148 H 117.9°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#AFC349
RGBrgb(175, 195, 73)
HSLhsl(70, 50%, 53%)
HSVhsv(70, 63%, 76%)
CMYKcmyk(10.3%, 0%, 62.6%, 23.5%)
CIE-LABlab(75.22, -23.56, 57.14)
CIE-LCHlch(75.22, 61.80, 112.41°)
OKLaboklab(77.83% -0.069 0.1305)
OKLCHoklch(77.83% 0.148 117.9)
XYZxyz(38.3976, 48.6256, 13.6649)
Luminance0.4863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC349 #5D49C3
analogous
#C39A49 #AFC349 #72C349
triadic
#AFC349 #49AFC3 #C349AF
tetradic
#AFC349 #49C39A #5D49C3 #C34972
square
#AFC349 #49C39A #5D49C3 #C34972
split-complementary
#AFC349 #4972C3 #9A49C3
monochromatic
#616E24 #8A9C33 #AFC349 #C3D277 #D7E1A5

Accessibility & contrast

On white

1.96
#AFC349 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.73
#AFC349 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC349
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC349#FFFFFF#000000##000000
##AFC3491.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB93A
Deuteranopia (green-blind)
#CDBA51
Tritanopia (blue-blind)
#B9B9AA
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #afc349;
/* rgb */ color: rgb(175, 195, 73);
/* oklch */ color: oklch(77.8% 0.148 117.9);
Tailwind
colors: {
  custom: {
    50: '#cad581',
    500: '#afc349',
    950: '#000000',
  },
}
SCSS
$custom: #afc349;
$custom-light: #cad581;
$custom-dark: #000000;
JSON
{
  "hex": "#afc349",
  "rgb": {
    "r": 175,
    "g": 195,
    "b": 73
  },
  "hsl": {
    "h": 69.836,
    "s": 50.413,
    "l": 52.549
  },
  "oklch": {
    "l": 0.77825,
    "c": 0.14768,
    "h": 117.9
  },
  "luminance": 0.48625
}

Semantic roles & 50–950 ramp

primary
#AFC349
secondary
#A299CE
accent
#4EDA65
background
#FCFDF8
surface
#F9FAEF
border
#D2D3CA
text
#14140B
muted
#82837C

Preview Lab

Preview with #AFC349

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

Preview Lab → · Contrast checker → · Palette generator →

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