#AFC451#AFC451

#AFC451 is a light, vivid yellow-green. Relative luminance 0.492; OKLCH L 78.1% C 0.142 H 118.5°. Best body text is #000000 at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#AFC451
RGBrgb(175, 196, 81)
HSLhsl(71, 49%, 54%)
HSVhsv(71, 59%, 77%)
CMYKcmyk(10.7%, 0%, 58.7%, 23.1%)
CIE-LABlab(75.57, -23.45, 54.06)
CIE-LCHlch(75.57, 58.93, 113.45°)
OKLaboklab(78.13% -0.0679 0.125)
OKLCHoklch(78.13% 0.142 118.5)
XYZxyz(38.9049, 49.1882, 15.2277)
Luminance0.4919 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC451 #6651C4
analogous
#C4A051 #AFC451 #76C451
triadic
#AFC451 #51AFC4 #C451AF
tetradic
#AFC451 #51C4A0 #6651C4 #C45176
square
#AFC451 #51C4A0 #6651C4 #C45176
split-complementary
#AFC451 #5176C4 #A051C4
monochromatic
#667327 #8EA137 #AFC451 #C4D37F #D9E3AC

Accessibility & contrast

On white

1.94
#AFC451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.84
#AFC451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC451
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC451#FFFFFF#000000##000000
##AFC4511.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA44
Deuteranopia (green-blind)
#CDBB58
Tritanopia (blue-blind)
#B8BAAB
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #afc451;
/* rgb */ color: rgb(175, 196, 81);
/* oklch */ color: oklch(78.1% 0.142 118.5);
Tailwind
colors: {
  custom: {
    50: '#c9d586',
    500: '#afc451',
    950: '#000000',
  },
}
SCSS
$custom: #afc451;
$custom-light: #c9d586;
$custom-dark: #000000;
JSON
{
  "hex": "#afc451",
  "rgb": {
    "r": 175,
    "g": 196,
    "b": 81
  },
  "hsl": {
    "h": 70.957,
    "s": 49.356,
    "l": 54.314
  },
  "oklch": {
    "l": 0.78129,
    "c": 0.14229,
    "h": 118.5
  },
  "luminance": 0.49188
}

Semantic roles & 50–950 ramp

primary
#AFC451
secondary
#A9A0D1
accent
#4FD968
background
#FCFDF8
surface
#F9FAF0
border
#D2D3CB
text
#13140B
muted
#82837C

Preview Lab

Preview with #AFC451

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

Preview Lab → · Contrast checker → · Palette generator →

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