#AFC044#AFC044

#AFC044 is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.1% C 0.148 H 116.7°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#AFC044
RGBrgb(175, 192, 68)
HSLhsl(68, 50%, 51%)
HSVhsv(68, 65%, 75%)
CMYKcmyk(8.9%, 0%, 64.6%, 24.7%)
CIE-LABlab(74.34, -22.43, 58.28)
CIE-LCHlch(74.34, 62.45, 111.05°)
OKLaboklab(77.11% -0.0664 0.1323)
OKLCHoklch(77.11% 0.148 116.7)
XYZxyz(37.5730, 47.2310, 12.6049)
Luminance0.4723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC044 #5544C0
analogous
#C09344 #AFC044 #71C044
triadic
#AFC044 #44AFC0 #C044AF
tetradic
#AFC044 #44C093 #5544C0 #C04471
square
#AFC044 #44C093 #5544C0 #C04471
split-complementary
#AFC044 #4471C0 #9344C0
monochromatic
#5E6723 #879532 #AFC044 #C3CF72 #D6DFA0

Accessibility & contrast

On white

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

On black

10.45
#AFC044 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC044
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC044#FFFFFF#000000##000000
##AFC0441.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afc044;
/* rgb */ color: rgb(175, 192, 68);
/* oklch */ color: oklch(77.1% 0.148 116.7);
Tailwind
colors: {
  custom: {
    50: '#cad37e',
    500: '#afc044',
    950: '#000000',
  },
}
SCSS
$custom: #afc044;
$custom-light: #cad37e;
$custom-dark: #000000;
JSON
{
  "hex": "#afc044",
  "rgb": {
    "r": 175,
    "g": 192,
    "b": 68
  },
  "hsl": {
    "h": 68.226,
    "s": 49.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.77106,
    "c": 0.14798,
    "h": 116.7
  },
  "luminance": 0.47231
}

Semantic roles & 50–950 ramp

primary
#AFC044
secondary
#9C94CB
accent
#4FD962
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #AFC044

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

Preview Lab → · Contrast checker → · Palette generator →

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