#AFC751#AFC751

#AFC751 is a light, vivid yellow-green. Relative luminance 0.506; OKLCH L 78.8% C 0.146 H 119.6°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#AFC751
RGBrgb(175, 199, 81)
HSLhsl(72, 51%, 55%)
HSVhsv(72, 59%, 78%)
CMYKcmyk(12.1%, 0%, 59.3%, 22%)
CIE-LABlab(76.41, -24.91, 55.00)
CIE-LCHlch(76.41, 60.37, 114.37°)
OKLaboklab(78.8% -0.072 0.127)
OKLCHoklch(78.8% 0.146 119.6)
XYZxyz(39.5884, 50.5551, 15.4555)
Luminance0.5056 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC751 #6951C7
analogous
#C7A451 #AFC751 #74C751
triadic
#AFC751 #51AFC7 #C751AF
tetradic
#AFC751 #51C7A4 #6951C7 #C75174
square
#AFC751 #51C7A4 #6951C7 #C75174
split-complementary
#AFC751 #5174C7 #A451C7
monochromatic
#677726 #8FA635 #AFC751 #C4D67F #DAE5AE

Accessibility & contrast

On white

1.89
#AFC751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.11
#AFC751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC751
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC751#FFFFFF#000000##000000
##AFC7511.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD44
Deuteranopia (green-blind)
#D0BD59
Tritanopia (blue-blind)
#B8BDAE
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #afc751;
/* rgb */ color: rgb(175, 199, 81);
/* oklch */ color: oklch(78.8% 0.146 119.6);
Tailwind
colors: {
  custom: {
    50: '#c9d886',
    500: '#afc751',
    950: '#000000',
  },
}
SCSS
$custom: #afc751;
$custom-light: #c9d886;
$custom-dark: #000000;
JSON
{
  "hex": "#afc751",
  "rgb": {
    "r": 175,
    "g": 199,
    "b": 81
  },
  "hsl": {
    "h": 72.203,
    "s": 51.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.78804,
    "c": 0.14602,
    "h": 119.6
  },
  "luminance": 0.50555
}

Semantic roles & 50–950 ramp

primary
#AFC751
secondary
#4A3C80
accent
#4DDB6A
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#13140B
muted
#83837E

Preview Lab

Preview with #AFC751

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

Preview Lab → · Contrast checker → · Palette generator →

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