#AFC130#AFC130

#AFC130 is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.2% C 0.162 H 116.6°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#AFC130
RGBrgb(175, 193, 48)
HSLhsl(67, 60%, 47%)
HSVhsv(67, 75%, 76%)
CMYKcmyk(9.3%, 0%, 75.1%, 24.3%)
CIE-LABlab(74.49, -24.02, 65.80)
CIE-LCHlch(74.49, 70.04, 110.06°)
OKLaboklab(77.19% -0.0727 0.1449)
OKLCHoklch(77.19% 0.162 116.6)
XYZxyz(37.2836, 47.4678, 9.9939)
Luminance0.4747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC130 #4230C1
analogous
#C18A30 #AFC130 #67C130
triadic
#AFC130 #30AFC1 #C130AF
tetradic
#AFC130 #30C18A #4230C1 #C13067
square
#AFC130 #30C18A #4230C1 #C13067
split-complementary
#AFC130 #3067C1 #8A30C1
monochromatic
#565F18 #839024 #AFC130 #C6D659 #D7E28A

Accessibility & contrast

On white

2.00
#AFC130 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.49
#AFC130 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC130
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC130#FFFFFF#000000##000000
##AFC1301.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB70C
Deuteranopia (green-blind)
#CDB83D
Tritanopia (blue-blind)
#BAB6A6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #afc130;
/* rgb */ color: rgb(175, 193, 48);
/* oklch */ color: oklch(77.2% 0.162 116.6);
Tailwind
colors: {
  custom: {
    50: '#cad374',
    500: '#afc130',
    950: '#000000',
  },
}
SCSS
$custom: #afc130;
$custom-light: #cad374;
$custom-dark: #000000;
JSON
{
  "hex": "#afc130",
  "rgb": {
    "r": 175,
    "g": 193,
    "b": 48
  },
  "hsl": {
    "h": 67.448,
    "s": 60.166,
    "l": 47.255
  },
  "oklch": {
    "l": 0.77185,
    "c": 0.16206,
    "h": 116.6
  },
  "luminance": 0.47467
}

Semantic roles & 50–950 ramp

primary
#AFC130
secondary
#8A81CC
accent
#44E358
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B

Preview Lab

Preview with #AFC130

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

Preview Lab → · Contrast checker → · Palette generator →

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