#AFC327#AFC327

#AFC327 is a light, vivid yellow. Relative luminance 0.483; OKLCH L 77.6% C 0.169 H 117.2°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#AFC327
RGBrgb(175, 195, 39)
HSLhsl(68, 67%, 46%)
HSVhsv(68, 80%, 76%)
CMYKcmyk(10.3%, 0%, 80%, 23.5%)
CIE-LABlab(75.01, -25.36, 68.95)
CIE-LCHlch(75.01, 73.47, 110.19°)
OKLaboklab(77.59% -0.077 0.15)
OKLCHoklch(77.59% 0.169 117.2)
XYZxyz(37.5615, 48.2911, 9.2615)
Luminance0.4829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC327 #3B27C3
analogous
#C38927 #AFC327 #61C327
triadic
#AFC327 #27AFC3 #C327AF
tetradic
#AFC327 #27C389 #3B27C3 #C32761
square
#AFC327 #27C389 #3B27C3 #C32761
split-complementary
#AFC327 #2761C3 #8927C3
monochromatic
#535D13 #81901D #AFC327 #C9DB4C #D8E57F

Accessibility & contrast

On white

1.97
#AFC327 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.66
#AFC327 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC327
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC327#FFFFFF#000000##000000
##AFC3271.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B800
Deuteranopia (green-blind)
#CFB937
Tritanopia (blue-blind)
#BAB8A7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #afc327;
/* rgb */ color: rgb(175, 195, 39);
/* oklch */ color: oklch(77.6% 0.169 117.2);
Tailwind
colors: {
  custom: {
    50: '#cbd570',
    500: '#afc327',
    950: '#000000',
  },
}
SCSS
$custom: #afc327;
$custom-light: #cbd570;
$custom-dark: #000000;
JSON
{
  "hex": "#afc327",
  "rgb": {
    "r": 175,
    "g": 195,
    "b": 39
  },
  "hsl": {
    "h": 67.692,
    "s": 66.667,
    "l": 45.882
  },
  "oklch": {
    "l": 0.7759,
    "c": 0.16864,
    "h": 117.2
  },
  "luminance": 0.48291
}

Semantic roles & 50–950 ramp

primary
#AFC327
secondary
#8378CE
accent
#3EEA54
background
#FCFDF7
surface
#F9FAED
border
#D2D3C8
text
#141408
muted
#82837B

Preview Lab

Preview with #AFC327

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

Preview Lab → · Contrast checker → · Palette generator →

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