#AFC249#AFC249

#AFC249 is a light, vivid yellow. Relative luminance 0.482; OKLCH L 77.6% C 0.146 H 117.5°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#AFC249
RGBrgb(175, 194, 73)
HSLhsl(69, 50%, 52%)
HSVhsv(69, 62%, 76%)
CMYKcmyk(9.8%, 0%, 62.4%, 23.9%)
CIE-LABlab(74.94, -23.07, 56.84)
CIE-LCHlch(74.94, 61.34, 112.09°)
OKLaboklab(77.6% -0.0677 0.1299)
OKLCHoklch(77.6% 0.146 117.5)
XYZxyz(38.1743, 48.1790, 13.5905)
Luminance0.4818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC249 #5C49C2
analogous
#C29849 #AFC249 #73C249
triadic
#AFC249 #49AFC2 #C249AF
tetradic
#AFC249 #49C298 #5C49C2 #C24973
square
#AFC249 #49C298 #5C49C2 #C24973
split-complementary
#AFC249 #4973C2 #9849C2
monochromatic
#616C24 #8A9A34 #AFC249 #C3D177 #D7E1A5

Accessibility & contrast

On white

1.97
#AFC249 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.64
#AFC249 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC249
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC249#FFFFFF#000000##000000
##AFC2491.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB83A
Deuteranopia (green-blind)
#CCB951
Tritanopia (blue-blind)
#B9B8A9
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #afc249;
/* rgb */ color: rgb(175, 194, 73);
/* oklch */ color: oklch(77.6% 0.146 117.5);
Tailwind
colors: {
  custom: {
    50: '#cad481',
    500: '#afc249',
    950: '#000000',
  },
}
SCSS
$custom: #afc249;
$custom-light: #cad481;
$custom-dark: #000000;
JSON
{
  "hex": "#afc249",
  "rgb": {
    "r": 175,
    "g": 194,
    "b": 73
  },
  "hsl": {
    "h": 69.421,
    "s": 49.794,
    "l": 52.353
  },
  "oklch": {
    "l": 0.776,
    "c": 0.14647,
    "h": 117.5
  },
  "luminance": 0.48179
}

Semantic roles & 50–950 ramp

primary
#AFC249
secondary
#A199CE
accent
#4ED964
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140B
muted
#82827C

Preview Lab

Preview with #AFC249

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

Preview Lab → · Contrast checker → · Palette generator →

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