#AFD343#AFD343

#AFD343 is a light, vivid yellow-green. Relative luminance 0.561; OKLCH L 81.4% C 0.171 H 122.5°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#AFD343
RGBrgb(175, 211, 67)
HSLhsl(75, 62%, 55%)
HSVhsv(75, 68%, 83%)
CMYKcmyk(17.1%, 0%, 68.2%, 17.3%)
CIE-LABlab(79.67, -31.59, 64.19)
CIE-LCHlch(79.67, 71.54, 116.21°)
OKLaboklab(81.4% -0.0919 0.1445)
OKLCHoklch(81.4% 0.171 122.5)
XYZxyz(41.9871, 56.1076, 13.9270)
Luminance0.5611 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD343 #6743D3
analogous
#D3AF43 #AFD343 #67D343
triadic
#AFD343 #43AFD3 #D343AF
tetradic
#AFD343 #43D3AF #6743D3 #D34367
square
#AFD343 #43D3AF #6743D3 #D34367
split-complementary
#AFD343 #4367D3 #AF43D3
monochromatic
#667E1E #8EB029 #AFD343 #C4DF75 #D9EAA6

Accessibility & contrast

On white

1.72
#AFD343 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.22
#AFD343 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD343
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD343#FFFFFF#000000##000000
##AFD3431.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC62D
Deuteranopia (green-blind)
#DBC54F
Tritanopia (blue-blind)
#B8C9B6
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #afd343;
/* rgb */ color: rgb(175, 211, 67);
/* oklch */ color: oklch(81.4% 0.171 122.5);
Tailwind
colors: {
  custom: {
    50: '#cae07f',
    500: '#afd343',
    950: '#000000',
  },
}
SCSS
$custom: #afd343;
$custom-light: #cae07f;
$custom-dark: #000000;
JSON
{
  "hex": "#afd343",
  "rgb": {
    "r": 175,
    "g": 211,
    "b": 67
  },
  "hsl": {
    "h": 75,
    "s": 62.069,
    "l": 54.51
  },
  "oklch": {
    "l": 0.81399,
    "c": 0.17129,
    "h": 122.5
  },
  "luminance": 0.56108
}

Semantic roles & 50–950 ramp

primary
#AFD343
secondary
#493586
accent
#43E56B
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD343

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

Preview Lab → · Contrast checker → · Palette generator →

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