#AFD274#AFD274

#AFD274 is a light, vivid yellow-green. Relative luminance 0.565; OKLCH L 81.7% C 0.127 H 125.8°. Best body text is #000000 at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#AFD274
RGBrgb(175, 210, 116)
HSLhsl(82, 51%, 64%)
HSVhsv(82, 45%, 82%)
CMYKcmyk(16.7%, 0%, 44.8%, 17.6%)
CIE-LABlab(79.88, -26.84, 42.67)
CIE-LCHlch(79.88, 50.41, 122.17°)
OKLaboklab(81.72% -0.0744 0.1032)
OKLCHoklch(81.72% 0.127 125.8)
XYZxyz(43.8780, 56.4677, 25.1073)
Luminance0.5647 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD274 #9774D2
analogous
#D2C674 #AFD274 #80D274
triadic
#AFD274 #74AFD2 #D274AF
tetradic
#AFD274 #74D2C6 #9774D2 #D27480
square
#AFD274 #74D2C6 #9774D2 #D27480
split-complementary
#AFD274 #7480D2 #C674D2
monochromatic
#739A32 #94C346 #AFD274 #CAE1A2 #E4F0D0

Accessibility & contrast

On white

1.71
#AFD274 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.29
#AFD274 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD274
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD274#FFFFFF#000000##000000
##AFD2741.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC76C
Deuteranopia (green-blind)
#D6C679
Tritanopia (blue-blind)
#B4CABC
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #afd274;
/* rgb */ color: rgb(175, 210, 116);
/* oklch */ color: oklch(81.7% 0.127 125.8);
Tailwind
colors: {
  custom: {
    50: '#c8e09d',
    500: '#afd274',
    950: '#000000',
  },
}
SCSS
$custom: #afd274;
$custom-light: #c8e09d;
$custom-dark: #000000;
JSON
{
  "hex": "#afd274",
  "rgb": {
    "r": 175,
    "g": 210,
    "b": 116
  },
  "hsl": {
    "h": 82.34,
    "s": 51.087,
    "l": 63.922
  },
  "oklch": {
    "l": 0.8172,
    "c": 0.12721,
    "h": 125.8
  },
  "luminance": 0.56468
}

Semantic roles & 50–950 ramp

primary
#AFD274
secondary
#6A4B9F
accent
#27BE5F
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#13150E
muted
#82847F

Preview Lab

Preview with #AFD274

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

Preview Lab → · Contrast checker → · Palette generator →

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