#AFC667#AFC667

#AFC667 is a light, vivid yellow-green. Relative luminance 0.505; OKLCH L 78.8% C 0.124 H 120.5°. Best body text is #000000 at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#AFC667
RGBrgb(175, 198, 103)
HSLhsl(75, 45%, 59%)
HSVhsv(75, 48%, 78%)
CMYKcmyk(11.6%, 0%, 48%, 22.4%)
CIE-LABlab(76.36, -22.42, 44.71)
CIE-LCHlch(76.36, 50.02, 116.63°)
OKLaboklab(78.84% -0.063 0.1069)
OKLCHoklch(78.84% 0.124 120.5)
XYZxyz(40.3217, 50.4815, 20.4490)
Luminance0.5048 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC667 #7E67C6
analogous
#C6AE67 #AFC667 #80C667
triadic
#AFC667 #67AFC6 #C667AF
tetradic
#AFC667 #67C6AE #7E67C6 #C66780
square
#AFC667 #67C6AE #7E67C6 #C66780
split-complementary
#AFC667 #6780C6 #AE67C6
monochromatic
#6E8231 #94AE41 #AFC667 #C6D794 #DEE7C0

Accessibility & contrast

On white

1.89
#AFC667 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.10
#AFC667 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC667
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC667#FFFFFF#000000##000000
##AFC6671.001.8911.1011.10
#FFFFFF1.891.0021.0021.00
#00000011.1021.001.001.00
##00000011.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BD5F
Deuteranopia (green-blind)
#CDBD6C
Tritanopia (blue-blind)
#B6BEB0
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #afc667;
/* rgb */ color: rgb(175, 198, 103);
/* oklch */ color: oklch(78.8% 0.124 120.5);
Tailwind
colors: {
  custom: {
    50: '#c8d794',
    500: '#afc667',
    950: '#000000',
  },
}
SCSS
$custom: #afc667;
$custom-light: #c8d794;
$custom-dark: #000000;
JSON
{
  "hex": "#afc667",
  "rgb": {
    "r": 175,
    "g": 198,
    "b": 103
  },
  "hsl": {
    "h": 74.526,
    "s": 45.455,
    "l": 59.02
  },
  "oklch": {
    "l": 0.78844,
    "c": 0.12405,
    "h": 120.5
  },
  "luminance": 0.50481
}

Semantic roles & 50–950 ramp

primary
#AFC667
secondary
#57478A
accent
#53D572
background
#FEFEFC
surface
#FAFBF4
border
#D3D4CE
text
#13140D
muted
#83837F

Preview Lab

Preview with #AFC667

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

Preview Lab → · Contrast checker → · Palette generator →

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