#AFC765#AFC765

#AFC765 is a light, vivid yellow-green. Relative luminance 0.509; OKLCH L 79.0% C 0.127 H 120.7°. Best body text is #000000 at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#AFC765
RGBrgb(175, 199, 101)
HSLhsl(75, 47%, 59%)
HSVhsv(75, 49%, 78%)
CMYKcmyk(12.1%, 0%, 49.2%, 22%)
CIE-LABlab(76.62, -23.12, 45.99)
CIE-LCHlch(76.62, 51.48, 116.69°)
OKLaboklab(79.04% -0.0651 0.1095)
OKLCHoklch(79.04% 0.127 120.7)
XYZxyz(40.4518, 50.9005, 20.0031)
Luminance0.5090 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC765 #7D65C7
analogous
#C7AE65 #AFC765 #7EC765
triadic
#AFC765 #65AFC7 #C765AF
tetradic
#AFC765 #65C7AE #7D65C7 #C7657E
square
#AFC765 #65C7AE #7D65C7 #C7657E
split-complementary
#AFC765 #657EC7 #AE65C7
monochromatic
#6E822F #94AF40 #AFC765 #C6D792 #DEE8BF

Accessibility & contrast

On white

1.88
#AFC765 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.18
#AFC765 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC765
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC765#FFFFFF#000000##000000
##AFC7651.001.8811.1811.18
#FFFFFF1.881.0021.0021.00
#00000011.1821.001.001.00
##00000011.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BD5C
Deuteranopia (green-blind)
#CEBD6A
Tritanopia (blue-blind)
#B7BEB0
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #afc765;
/* rgb */ color: rgb(175, 199, 101);
/* oklch */ color: oklch(79.0% 0.127 120.7);
Tailwind
colors: {
  custom: {
    50: '#c8d893',
    500: '#afc765',
    950: '#000000',
  },
}
SCSS
$custom: #afc765;
$custom-light: #c8d893;
$custom-dark: #000000;
JSON
{
  "hex": "#afc765",
  "rgb": {
    "r": 175,
    "g": 199,
    "b": 101
  },
  "hsl": {
    "h": 74.694,
    "s": 46.667,
    "l": 58.824
  },
  "oklch": {
    "l": 0.79041,
    "c": 0.12744,
    "h": 120.7
  },
  "luminance": 0.509
}

Semantic roles & 50–950 ramp

primary
#AFC765
secondary
#57468A
accent
#51D672
background
#FEFEFC
surface
#FAFBF4
border
#D3D4CE
text
#13140D
muted
#83837F

Preview Lab

Preview with #AFC765

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

Preview Lab → · Contrast checker → · Palette generator →

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