#AFC343#AFC343

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

Color values

HEX#AFC343
RGBrgb(175, 195, 67)
HSLhsl(69, 52%, 51%)
HSVhsv(69, 66%, 76%)
CMYKcmyk(10.3%, 0%, 65.6%, 23.5%)
CIE-LABlab(75.17, -23.96, 59.56)
CIE-LCHlch(75.17, 64.20, 111.92°)
OKLaboklab(77.77% -0.0708 0.1348)
OKLCHoklch(77.77% 0.152 117.7)
XYZxyz(38.2082, 48.5498, 12.6673)
Luminance0.4855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC343 #5743C3
analogous
#C39743 #AFC343 #6FC343
triadic
#AFC343 #43AFC3 #C343AF
tetradic
#AFC343 #43C397 #5743C3 #C3436F
square
#AFC343 #43C397 #5743C3 #C3436F
split-complementary
#AFC343 #436FC3 #9743C3
monochromatic
#5F6A22 #889831 #AFC343 #C3D271 #D6E1A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFC343#FFFFFF#000000##000000
##AFC3431.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)
#D0B931
Deuteranopia (green-blind)
#CEBA4C
Tritanopia (blue-blind)
#B9B9A9
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #afc343;
/* rgb */ color: rgb(175, 195, 67);
/* oklch */ color: oklch(77.8% 0.152 117.7);
Tailwind
colors: {
  custom: {
    50: '#cad57e',
    500: '#afc343',
    950: '#000000',
  },
}
SCSS
$custom: #afc343;
$custom-light: #cad57e;
$custom-dark: #000000;
JSON
{
  "hex": "#afc343",
  "rgb": {
    "r": 175,
    "g": 195,
    "b": 67
  },
  "hsl": {
    "h": 69.375,
    "s": 51.613,
    "l": 51.373
  },
  "oklch": {
    "l": 0.77772,
    "c": 0.15224,
    "h": 117.7
  },
  "luminance": 0.48549
}

Semantic roles & 50–950 ramp

primary
#AFC343
secondary
#9E95CD
accent
#4DDB63
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#14140A
muted
#82837C

Preview Lab

Preview with #AFC343

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

Preview Lab → · Contrast checker → · Palette generator →

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