#AFC341#AFC341

#AFC341 is a light, vivid yellow. Relative luminance 0.485; OKLCH L 77.8% C 0.154 H 117.6°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#AFC341
RGBrgb(175, 195, 65)
HSLhsl(69, 52%, 51%)
HSVhsv(69, 67%, 76%)
CMYKcmyk(10.3%, 0%, 66.7%, 23.5%)
CIE-LABlab(75.16, -24.09, 60.33)
CIE-LCHlch(75.16, 64.97, 111.76°)
OKLaboklab(77.76% -0.0713 0.1361)
OKLCHoklch(77.76% 0.154 117.6)
XYZxyz(38.1492, 48.5262, 12.3568)
Luminance0.4853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC341 #5541C3
analogous
#C39641 #AFC341 #6EC341
triadic
#AFC341 #41AFC3 #C341AF
tetradic
#AFC341 #41C396 #5541C3 #C3416E
square
#AFC341 #41C396 #5541C3 #C3416E
split-complementary
#AFC341 #416EC3 #9641C3
monochromatic
#5E6921 #879730 #AFC341 #C3D270 #D6E09E

Accessibility & contrast

On white

1.96
#AFC341 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.71
#AFC341 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC341
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC341#FFFFFF#000000##000000
##AFC3411.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B92E
Deuteranopia (green-blind)
#CEBA4B
Tritanopia (blue-blind)
#B9B8A9
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #afc341;
/* rgb */ color: rgb(175, 195, 65);
/* oklch */ color: oklch(77.8% 0.154 117.6);
Tailwind
colors: {
  custom: {
    50: '#cad57d',
    500: '#afc341',
    950: '#000000',
  },
}
SCSS
$custom: #afc341;
$custom-light: #cad57d;
$custom-dark: #000000;
JSON
{
  "hex": "#afc341",
  "rgb": {
    "r": 175,
    "g": 195,
    "b": 65
  },
  "hsl": {
    "h": 69.231,
    "s": 52,
    "l": 50.98
  },
  "oklch": {
    "l": 0.77755,
    "c": 0.15368,
    "h": 117.6
  },
  "luminance": 0.48526
}

Semantic roles & 50–950 ramp

primary
#AFC341
secondary
#9C93CD
accent
#4CDB62
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#14140A
muted
#82837C

Preview Lab

Preview with #AFC341

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

Preview Lab → · Contrast checker → · Palette generator →

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