#AFC250#AFC250

#AFC250 is a light, vivid yellow-green. Relative luminance 0.483; OKLCH L 77.7% C 0.141 H 117.8°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#AFC250
RGBrgb(175, 194, 80)
HSLhsl(70, 48%, 54%)
HSVhsv(70, 59%, 76%)
CMYKcmyk(9.8%, 0%, 58.8%, 23.9%)
CIE-LABlab(75.00, -22.55, 53.87)
CIE-LCHlch(75.00, 58.40, 112.71°)
OKLaboklab(77.67% -0.0655 0.1245)
OKLCHoklch(77.67% 0.141 117.8)
XYZxyz(38.4196, 48.2771, 14.8823)
Luminance0.4828 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC250 #6350C2
analogous
#C29C50 #AFC250 #76C250
triadic
#AFC250 #50AFC2 #C250AF
tetradic
#AFC250 #50C29C #6350C2 #C25076
square
#AFC250 #50C29C #6350C2 #C25076
split-complementary
#AFC250 #5076C2 #9C50C2
monochromatic
#647027 #8D9E37 #AFC250 #C4D27D #D8E2AB

Accessibility & contrast

On white

1.97
#AFC250 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.66
#AFC250 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC250
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC250#FFFFFF#000000##000000
##AFC2501.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB843
Deuteranopia (green-blind)
#CCB957
Tritanopia (blue-blind)
#B9B8AA
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #afc250;
/* rgb */ color: rgb(175, 194, 80);
/* oklch */ color: oklch(77.7% 0.141 117.8);
Tailwind
colors: {
  custom: {
    50: '#c9d485',
    500: '#afc250',
    950: '#000000',
  },
}
SCSS
$custom: #afc250;
$custom-light: #c9d485;
$custom-dark: #000000;
JSON
{
  "hex": "#afc250",
  "rgb": {
    "r": 175,
    "g": 194,
    "b": 80
  },
  "hsl": {
    "h": 70,
    "s": 48.305,
    "l": 53.725
  },
  "oklch": {
    "l": 0.7767,
    "c": 0.14068,
    "h": 117.8
  },
  "luminance": 0.48277
}

Semantic roles & 50–950 ramp

primary
#AFC250
secondary
#A79FCF
accent
#50D867
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#13140B
muted
#82827C

Preview Lab

Preview with #AFC250

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

Preview Lab → · Contrast checker → · Palette generator →

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