#AFC050#AFC050

#AFC050 is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.2% C 0.138 H 117.0°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#AFC050
RGBrgb(175, 192, 80)
HSLhsl(69, 47%, 53%)
HSVhsv(69, 58%, 75%)
CMYKcmyk(8.9%, 0%, 58.3%, 24.7%)
CIE-LABlab(74.44, -21.56, 53.25)
CIE-LCHlch(74.44, 57.45, 112.04°)
OKLaboklab(77.22% -0.0627 0.1232)
OKLCHoklch(77.22% 0.138 117)
XYZxyz(37.9775, 47.3928, 14.7349)
Luminance0.4739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC050 #6150C0
analogous
#C09950 #AFC050 #77C050
triadic
#AFC050 #50AFC0 #C050AF
tetradic
#AFC050 #50C099 #6150C0 #C05077
square
#AFC050 #50C099 #6150C0 #C05077
split-complementary
#AFC050 #5077C0 #9950C0
monochromatic
#636E28 #8C9B38 #AFC050 #C4D07D #D8E0AA

Accessibility & contrast

On white

2.00
#AFC050 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.48
#AFC050 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC050
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC050#FFFFFF#000000##000000
##AFC0501.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB744
Deuteranopia (green-blind)
#CAB857
Tritanopia (blue-blind)
#B9B6A8
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #afc050;
/* rgb */ color: rgb(175, 192, 80);
/* oklch */ color: oklch(77.2% 0.138 117.0);
Tailwind
colors: {
  custom: {
    50: '#c9d385',
    500: '#afc050',
    950: '#000000',
  },
}
SCSS
$custom: #afc050;
$custom-light: #c9d385;
$custom-dark: #000000;
JSON
{
  "hex": "#afc050",
  "rgb": {
    "r": 175,
    "g": 192,
    "b": 80
  },
  "hsl": {
    "h": 69.107,
    "s": 47.059,
    "l": 53.333
  },
  "oklch": {
    "l": 0.77221,
    "c": 0.13823,
    "h": 117
  },
  "luminance": 0.47392
}

Semantic roles & 50–950 ramp

primary
#AFC050
secondary
#A59ECE
accent
#51D765
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#13140B
muted
#82827C

Preview Lab

Preview with #AFC050

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

Preview Lab → · Contrast checker → · Palette generator →

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