#AFC741#AFC741

#AFC741 is a light, vivid yellow-green. Relative luminance 0.503; OKLCH L 78.7% C 0.158 H 119.0°. Best body text is #000000 at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#AFC741
RGBrgb(175, 199, 65)
HSLhsl(71, 54%, 52%)
HSVhsv(71, 67%, 78%)
CMYKcmyk(12.1%, 0%, 67.3%, 22%)
CIE-LABlab(76.28, -26.03, 61.49)
CIE-LCHlch(76.28, 66.77, 112.94°)
OKLaboklab(78.66% -0.0767 0.1386)
OKLCHoklch(78.66% 0.158 119)
XYZxyz(39.0575, 50.3427, 12.6595)
Luminance0.5034 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC741 #5941C7
analogous
#C79C41 #AFC741 #6CC741
triadic
#AFC741 #41AFC7 #C741AF
tetradic
#AFC741 #41C79C #5941C7 #C7416C
square
#AFC741 #41C79C #5941C7 #C7416C
split-complementary
#AFC741 #416CC7 #9C41C7
monochromatic
#606D20 #899D2E #AFC741 #C3D570 #D7E3A0

Accessibility & contrast

On white

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

On black

11.07
#AFC741 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC741
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC741#FFFFFF#000000##000000
##AFC7411.001.9011.0711.07
#FFFFFF1.901.0021.0021.00
#00000011.0721.001.001.00
##00000011.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC2D
Deuteranopia (green-blind)
#D1BD4B
Tritanopia (blue-blind)
#B9BCAC
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #afc741;
/* rgb */ color: rgb(175, 199, 65);
/* oklch */ color: oklch(78.7% 0.158 119.0);
Tailwind
colors: {
  custom: {
    50: '#cad87d',
    500: '#afc741',
    950: '#000000',
  },
}
SCSS
$custom: #afc741;
$custom-light: #cad87d;
$custom-dark: #000000;
JSON
{
  "hex": "#afc741",
  "rgb": {
    "r": 175,
    "g": 199,
    "b": 65
  },
  "hsl": {
    "h": 70.746,
    "s": 54.472,
    "l": 51.765
  },
  "oklch": {
    "l": 0.78659,
    "c": 0.15836,
    "h": 119
  },
  "luminance": 0.50342
}

Semantic roles & 50–950 ramp

primary
#AFC741
secondary
#413577
accent
#4ADE64
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #AFC741

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

Preview Lab → · Contrast checker → · Palette generator →

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