#AFC347#AFC347

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

Color values

HEX#AFC347
RGBrgb(175, 195, 71)
HSLhsl(70, 51%, 52%)
HSVhsv(70, 64%, 76%)
CMYKcmyk(10.3%, 0%, 63.6%, 23.5%)
CIE-LABlab(75.20, -23.70, 57.96)
CIE-LCHlch(75.20, 62.61, 112.24°)
OKLaboklab(77.81% -0.0696 0.132)
OKLCHoklch(77.81% 0.149 117.8)
XYZxyz(38.3324, 48.5995, 13.3213)
Luminance0.4860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC347 #5B47C3
analogous
#C39947 #AFC347 #71C347
triadic
#AFC347 #47AFC3 #C347AF
tetradic
#AFC347 #47C399 #5B47C3 #C34771
square
#AFC347 #47C399 #5B47C3 #C34771
split-complementary
#AFC347 #4771C3 #9947C3
monochromatic
#616C23 #8A9A32 #AFC347 #C3D275 #D7E1A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFC347#FFFFFF#000000##000000
##AFC3471.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)
#CFB937
Deuteranopia (green-blind)
#CDBA50
Tritanopia (blue-blind)
#B9B9A9
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #afc347;
/* rgb */ color: rgb(175, 195, 71);
/* oklch */ color: oklch(77.8% 0.149 117.8);
Tailwind
colors: {
  custom: {
    50: '#cad580',
    500: '#afc347',
    950: '#000000',
  },
}
SCSS
$custom: #afc347;
$custom-light: #cad580;
$custom-dark: #000000;
JSON
{
  "hex": "#afc347",
  "rgb": {
    "r": 175,
    "g": 195,
    "b": 71
  },
  "hsl": {
    "h": 69.677,
    "s": 50.82,
    "l": 52.157
  },
  "oklch": {
    "l": 0.77807,
    "c": 0.14923,
    "h": 117.8
  },
  "luminance": 0.48599
}

Semantic roles & 50–950 ramp

primary
#AFC347
secondary
#A198CE
accent
#4DDA64
background
#FCFDF8
surface
#F9FAEF
border
#D2D3CA
text
#14140B
muted
#82837C

Preview Lab

Preview with #AFC347

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

Preview Lab → · Contrast checker → · Palette generator →

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