#AFC63B#AFC63B

#AFC63B is a light, vivid yellow. Relative luminance 0.498; OKLCH L 78.4% C 0.161 H 118.5°. Best body text is #000000 at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#AFC63B
RGBrgb(175, 198, 59)
HSLhsl(70, 55%, 50%)
HSVhsv(70, 70%, 78%)
CMYKcmyk(11.6%, 0%, 70.2%, 22.4%)
CIE-LABlab(75.96, -25.89, 63.42)
CIE-LCHlch(75.96, 68.50, 112.21°)
OKLaboklab(78.39% -0.0769 0.1417)
OKLCHoklch(78.39% 0.161 118.5)
XYZxyz(38.6635, 49.8182, 11.7159)
Luminance0.4982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC63B #523BC6
analogous
#C6973B #AFC63B #69C63B
triadic
#AFC63B #3BAFC6 #C63BAF
tetradic
#AFC63B #3BC697 #523BC6 #C63B69
square
#AFC63B #3BC697 #523BC6 #C63B69
split-complementary
#AFC63B #3B69C6 #973BC6
monochromatic
#5C681E #86982C #AFC63B #C2D46A #D6E29A

Accessibility & contrast

On white

1.92
#AFC63B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.96
#AFC63B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC63B
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC63B#FFFFFF#000000##000000
##AFC63B1.001.9210.9610.96
#FFFFFF1.921.0021.0021.00
#00000010.9621.001.001.00
##00000010.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB23
Deuteranopia (green-blind)
#D0BC46
Tritanopia (blue-blind)
#B9BBAB
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #afc63b;
/* rgb */ color: rgb(175, 198, 59);
/* oklch */ color: oklch(78.4% 0.161 118.5);
Tailwind
colors: {
  custom: {
    50: '#cad77a',
    500: '#afc63b',
    950: '#000000',
  },
}
SCSS
$custom: #afc63b;
$custom-light: #cad77a;
$custom-dark: #000000;
JSON
{
  "hex": "#afc63b",
  "rgb": {
    "r": 175,
    "g": 198,
    "b": 59
  },
  "hsl": {
    "h": 69.928,
    "s": 54.941,
    "l": 50.392
  },
  "oklch": {
    "l": 0.78387,
    "c": 0.16121,
    "h": 118.5
  },
  "luminance": 0.49818
}

Semantic roles & 50–950 ramp

primary
#AFC63B
secondary
#9A8FCD
accent
#4ADE62
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#14140A
muted
#82837C

Preview Lab

Preview with #AFC63B

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

Preview Lab → · Contrast checker → · Palette generator →

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