#AFC752#AFC752

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

Color values

HEX#AFC752
RGBrgb(175, 199, 82)
HSLhsl(72, 51%, 55%)
HSVhsv(72, 59%, 78%)
CMYKcmyk(12.1%, 0%, 58.8%, 22%)
CIE-LABlab(76.42, -24.83, 54.57)
CIE-LCHlch(76.42, 59.95, 114.47°)
OKLaboklab(78.82% -0.0717 0.1262)
OKLCHoklch(78.82% 0.145 119.6)
XYZxyz(39.6261, 50.5702, 15.6545)
Luminance0.5057 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC752 #6A52C7
analogous
#C7A552 #AFC752 #74C752
triadic
#AFC752 #52AFC7 #C752AF
tetradic
#AFC752 #52C7A5 #6A52C7 #C75274
square
#AFC752 #52C7A5 #6A52C7 #C75274
split-complementary
#AFC752 #5274C7 #A552C7
monochromatic
#677827 #8FA636 #AFC752 #C4D680 #DAE5AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFC752#FFFFFF#000000##000000
##AFC7521.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)
#D3BD45
Deuteranopia (green-blind)
#D0BD5A
Tritanopia (blue-blind)
#B8BDAE
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #afc752;
/* rgb */ color: rgb(175, 199, 82);
/* oklch */ color: oklch(78.8% 0.145 119.6);
Tailwind
colors: {
  custom: {
    50: '#c9d887',
    500: '#afc752',
    950: '#000000',
  },
}
SCSS
$custom: #afc752;
$custom-light: #c9d887;
$custom-dark: #000000;
JSON
{
  "hex": "#afc752",
  "rgb": {
    "r": 175,
    "g": 199,
    "b": 82
  },
  "hsl": {
    "h": 72.308,
    "s": 51.092,
    "l": 55.098
  },
  "oklch": {
    "l": 0.78815,
    "c": 0.14517,
    "h": 119.6
  },
  "luminance": 0.5057
}

Semantic roles & 50–950 ramp

primary
#AFC752
secondary
#4B3D80
accent
#4DDB6A
background
#FEFEFC
surface
#FBFBF3
border
#D4D4CD
text
#13140C
muted
#83837F

Preview Lab

Preview with #AFC752

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

Preview Lab → · Contrast checker → · Palette generator →

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