#AFC530#AFC530

#AFC530 is a light, vivid yellow. Relative luminance 0.493; OKLCH L 78.1% C 0.166 H 117.9°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#AFC530
RGBrgb(175, 197, 48)
HSLhsl(69, 61%, 48%)
HSVhsv(69, 76%, 77%)
CMYKcmyk(11.2%, 0%, 75.6%, 22.7%)
CIE-LABlab(75.61, -25.96, 66.85)
CIE-LCHlch(75.61, 71.71, 111.22°)
OKLaboklab(78.09% -0.078 0.1471)
OKLCHoklch(78.09% 0.166 117.9)
XYZxyz(38.1798, 49.2602, 10.2926)
Luminance0.4926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC530 #4630C5
analogous
#C59030 #AFC530 #64C530
triadic
#AFC530 #30AFC5 #C530AF
tetradic
#AFC530 #30C590 #4630C5 #C53064
square
#AFC530 #30C590 #4630C5 #C53064
split-complementary
#AFC530 #3064C5 #9030C5
monochromatic
#586318 #839424 #AFC530 #C5D75B #D6E38C

Accessibility & contrast

On white

1.94
#AFC530 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.85
#AFC530 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC530
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC530#FFFFFF#000000##000000
##AFC5301.001.9410.8510.85
#FFFFFF1.941.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA08
Deuteranopia (green-blind)
#D0BB3E
Tritanopia (blue-blind)
#BABAA9
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #afc530;
/* rgb */ color: rgb(175, 197, 48);
/* oklch */ color: oklch(78.1% 0.166 117.9);
Tailwind
colors: {
  custom: {
    50: '#cbd674',
    500: '#afc530',
    950: '#000000',
  },
}
SCSS
$custom: #afc530;
$custom-light: #cbd674;
$custom-dark: #000000;
JSON
{
  "hex": "#afc530",
  "rgb": {
    "r": 175,
    "g": 197,
    "b": 48
  },
  "hsl": {
    "h": 68.859,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.7809,
    "c": 0.16649,
    "h": 117.9
  },
  "luminance": 0.4926
}

Semantic roles & 50–950 ramp

primary
#AFC530
secondary
#8E84CD
accent
#44E45B
background
#FCFDF7
surface
#F9FAED
border
#D2D3C8
text
#141409
muted
#82837B

Preview Lab

Preview with #AFC530

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

Preview Lab → · Contrast checker → · Palette generator →

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