#AFD746#AFD746

#AFD746 is a very light, vivid yellow-green. Relative luminance 0.582; OKLCH L 82.3% C 0.174 H 123.6°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#AFD746
RGBrgb(175, 215, 70)
HSLhsl(77, 64%, 56%)
HSVhsv(77, 67%, 84%)
CMYKcmyk(18.6%, 0%, 67.4%, 15.7%)
CIE-LABlab(80.83, -33.26, 64.23)
CIE-LCHlch(80.83, 72.33, 117.38°)
OKLaboklab(82.34% -0.0963 0.1451)
OKLCHoklch(82.34% 0.174 123.6)
XYZxyz(43.0855, 58.1568, 14.7487)
Luminance0.5816 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD746 #6E46D7
analogous
#D7B646 #AFD746 #66D746
triadic
#AFD746 #46AFD7 #D746AF
tetradic
#AFD746 #46D7B6 #6E46D7 #D74666
square
#AFD746 #46D7B6 #6E46D7 #D74666
split-complementary
#AFD746 #4666D7 #B646D7
monochromatic
#69861D #90B828 #AFD746 #C5E278 #DBEDAB

Accessibility & contrast

On white

1.66
#AFD746 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.63
#AFD746 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD746
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD746#FFFFFF#000000##000000
##AFD7461.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA30
Deuteranopia (green-blind)
#DEC852
Tritanopia (blue-blind)
#B7CDBA
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #afd746;
/* rgb */ color: rgb(175, 215, 70);
/* oklch */ color: oklch(82.3% 0.174 123.6);
Tailwind
colors: {
  custom: {
    50: '#cae381',
    500: '#afd746',
    950: '#000000',
  },
}
SCSS
$custom: #afd746;
$custom-light: #cae381;
$custom-dark: #000000;
JSON
{
  "hex": "#afd746",
  "rgb": {
    "r": 175,
    "g": 215,
    "b": 70
  },
  "hsl": {
    "h": 76.552,
    "s": 64.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.82335,
    "c": 0.17409,
    "h": 123.6
  },
  "luminance": 0.58157
}

Semantic roles & 50–950 ramp

primary
#AFD746
secondary
#4D358C
accent
#40E76E
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD746

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

Preview Lab → · Contrast checker → · Palette generator →

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