#AFD374#AFD374

#AFD374 is a light, vivid yellow-green. Relative luminance 0.570; OKLCH L 81.9% C 0.129 H 126.1°. Best body text is #000000 at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#AFD374
RGBrgb(175, 211, 116)
HSLhsl(83, 52%, 64%)
HSVhsv(83, 45%, 83%)
CMYKcmyk(17.1%, 0%, 45%, 17.3%)
CIE-LABlab(80.16, -27.32, 43.01)
CIE-LCHlch(80.16, 50.96, 122.42°)
OKLaboklab(81.95% -0.0758 0.1039)
OKLCHoklch(81.95% 0.129 126.1)
XYZxyz(44.1256, 56.9630, 25.1899)
Luminance0.5696 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD374 #9874D3
analogous
#D3C874 #AFD374 #80D374
triadic
#AFD374 #74AFD3 #D374AF
tetradic
#AFD374 #74D3C8 #9874D3 #D37480
square
#AFD374 #74D3C8 #9874D3 #D37480
split-complementary
#AFD374 #7480D3 #C874D3
monochromatic
#739B31 #94C446 #AFD374 #CAE2A2 #E5F0D1

Accessibility & contrast

On white

1.69
#AFD374 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.39
#AFD374 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD374
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD374#FFFFFF#000000##000000
##AFD3741.001.6912.3912.39
#FFFFFF1.691.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC86C
Deuteranopia (green-blind)
#D7C679
Tritanopia (blue-blind)
#B4CBBC
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #afd374;
/* rgb */ color: rgb(175, 211, 116);
/* oklch */ color: oklch(81.9% 0.129 126.1);
Tailwind
colors: {
  custom: {
    50: '#c8e09e',
    500: '#afd374',
    950: '#000000',
  },
}
SCSS
$custom: #afd374;
$custom-light: #c8e09e;
$custom-dark: #000000;
JSON
{
  "hex": "#afd374",
  "rgb": {
    "r": 175,
    "g": 211,
    "b": 116
  },
  "hsl": {
    "h": 82.737,
    "s": 51.913,
    "l": 64.118
  },
  "oklch": {
    "l": 0.81945,
    "c": 0.12863,
    "h": 126.1
  },
  "luminance": 0.56963
}

Semantic roles & 50–950 ramp

primary
#AFD374
secondary
#6B4BA0
accent
#26BF60
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #AFD374

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

Preview Lab → · Contrast checker → · Palette generator →

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