#AFC346#AFC346

#AFC346 is a light, vivid yellow. Relative luminance 0.486; OKLCH L 77.8% C 0.150 H 117.8°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#AFC346
RGBrgb(175, 195, 70)
HSLhsl(70, 51%, 52%)
HSVhsv(70, 64%, 76%)
CMYKcmyk(10.3%, 0%, 64.1%, 23.5%)
CIE-LABlab(75.19, -23.76, 58.36)
CIE-LCHlch(75.19, 63.01, 112.16°)
OKLaboklab(77.8% -0.0699 0.1327)
OKLCHoklch(77.8% 0.15 117.8)
XYZxyz(38.3005, 48.5867, 13.1537)
Luminance0.4859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC346 #5A46C3
analogous
#C39946 #AFC346 #71C346
triadic
#AFC346 #46AFC3 #C346AF
tetradic
#AFC346 #46C399 #5A46C3 #C34671
square
#AFC346 #46C399 #5A46C3 #C34671
split-complementary
#AFC346 #4671C3 #9946C3
monochromatic
#606C23 #899A32 #AFC346 #C3D274 #D7E1A2

Accessibility & contrast

On white

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

On black

10.72
#AFC346 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC346
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC346#FFFFFF#000000##000000
##AFC3461.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB936
Deuteranopia (green-blind)
#CDBA4F
Tritanopia (blue-blind)
#B9B9A9
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #afc346;
/* rgb */ color: rgb(175, 195, 70);
/* oklch */ color: oklch(77.8% 0.150 117.8);
Tailwind
colors: {
  custom: {
    50: '#cad57f',
    500: '#afc346',
    950: '#000000',
  },
}
SCSS
$custom: #afc346;
$custom-light: #cad57f;
$custom-dark: #000000;
JSON
{
  "hex": "#afc346",
  "rgb": {
    "r": 175,
    "g": 195,
    "b": 70
  },
  "hsl": {
    "h": 69.6,
    "s": 51.02,
    "l": 51.961
  },
  "oklch": {
    "l": 0.77798,
    "c": 0.14999,
    "h": 117.8
  },
  "luminance": 0.48586
}

Semantic roles & 50–950 ramp

primary
#AFC346
secondary
#A097CE
accent
#4DDA64
background
#FCFDF8
surface
#F9FAEF
border
#D2D3CA
text
#14140A
muted
#82837C

Preview Lab

Preview with #AFC346

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

Preview Lab → · Contrast checker → · Palette generator →

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