#AFC745#AFC745

#AFC745 is a light, vivid yellow-green. Relative luminance 0.504; OKLCH L 78.7% C 0.156 H 119.1°. Best body text is #000000 at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#AFC745
RGBrgb(175, 199, 69)
HSLhsl(71, 54%, 53%)
HSVhsv(71, 65%, 78%)
CMYKcmyk(12.1%, 0%, 65.3%, 22%)
CIE-LABlab(76.31, -25.77, 59.94)
CIE-LCHlch(76.31, 65.25, 113.27°)
OKLaboklab(78.69% -0.0756 0.1359)
OKLCHoklch(78.69% 0.156 119.1)
XYZxyz(39.1775, 50.3907, 13.2916)
Luminance0.5039 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC745 #5D45C7
analogous
#C79E45 #AFC745 #6EC745
triadic
#AFC745 #45AFC7 #C745AF
tetradic
#AFC745 #45C79E #5D45C7 #C7456E
square
#AFC745 #45C79E #5D45C7 #C7456E
split-complementary
#AFC745 #456EC7 #9E45C7
monochromatic
#617022 #8A9F30 #AFC745 #C3D574 #D7E3A3

Accessibility & contrast

On white

1.90
#AFC745 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.08
#AFC745 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC745
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC745#FFFFFF#000000##000000
##AFC7451.001.9011.0811.08
#FFFFFF1.901.0021.0021.00
#00000011.0821.001.001.00
##00000011.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC33
Deuteranopia (green-blind)
#D1BD4E
Tritanopia (blue-blind)
#B9BDAC
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #afc745;
/* rgb */ color: rgb(175, 199, 69);
/* oklch */ color: oklch(78.7% 0.156 119.1);
Tailwind
colors: {
  custom: {
    50: '#cad87f',
    500: '#afc745',
    950: '#000000',
  },
}
SCSS
$custom: #afc745;
$custom-light: #cad87f;
$custom-dark: #000000;
JSON
{
  "hex": "#afc745",
  "rgb": {
    "r": 175,
    "g": 199,
    "b": 69
  },
  "hsl": {
    "h": 71.077,
    "s": 53.719,
    "l": 52.549
  },
  "oklch": {
    "l": 0.78692,
    "c": 0.15551,
    "h": 119.1
  },
  "luminance": 0.5039
}

Semantic roles & 50–950 ramp

primary
#AFC745
secondary
#433779
accent
#4BDD66
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #AFC745

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

Preview Lab → · Contrast checker → · Palette generator →

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