#AFD674#AFD674

#AFD674 is a very light, vivid yellow-green. Relative luminance 0.585; OKLCH L 82.6% C 0.133 H 126.9°. Best body text is #000000 at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#AFD674
RGBrgb(175, 214, 116)
HSLhsl(84, 54%, 65%)
HSVhsv(84, 46%, 84%)
CMYKcmyk(18.2%, 0%, 45.8%, 16.1%)
CIE-LABlab(81.00, -28.75, 44.05)
CIE-LCHlch(81.00, 52.61, 123.13°)
OKLaboklab(82.62% -0.0798 0.1063)
OKLCHoklch(82.62% 0.133 126.9)
XYZxyz(44.8779, 58.4675, 25.4406)
Luminance0.5847 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD674 #9B74D6
analogous
#D6CC74 #AFD674 #7ED674
triadic
#AFD674 #74AFD6 #D674AF
tetradic
#AFD674 #74D6CC #9B74D6 #D6747E
square
#AFD674 #74D6CC #9B74D6 #D6747E
split-complementary
#AFD674 #747ED6 #CC74D6
monochromatic
#73A02F #94C845 #AFD674 #CAE4A3 #E5F2D3

Accessibility & contrast

On white

1.65
#AFD674 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.69
#AFD674 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD674
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD674#FFFFFF#000000##000000
##AFD6741.001.6512.6912.69
#FFFFFF1.651.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCB6C
Deuteranopia (green-blind)
#D9C87A
Tritanopia (blue-blind)
#B4CEBF
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #afd674;
/* rgb */ color: rgb(175, 214, 116);
/* oklch */ color: oklch(82.6% 0.133 126.9);
Tailwind
colors: {
  custom: {
    50: '#c8e29e',
    500: '#afd674',
    950: '#000000',
  },
}
SCSS
$custom: #afd674;
$custom-light: #c8e29e;
$custom-dark: #000000;
JSON
{
  "hex": "#afd674",
  "rgb": {
    "r": 175,
    "g": 214,
    "b": 116
  },
  "hsl": {
    "h": 83.878,
    "s": 54.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.8262,
    "c": 0.13287,
    "h": 126.9
  },
  "luminance": 0.58468
}

Semantic roles & 50–950 ramp

primary
#AFD674
secondary
#6E4AA4
accent
#24C263
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #AFD674

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

Preview Lab → · Contrast checker → · Palette generator →

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