#AFC124#AFC124

#AFC124 is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.1% C 0.168 H 116.5°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#AFC124
RGBrgb(175, 193, 36)
HSLhsl(67, 69%, 45%)
HSVhsv(67, 81%, 76%)
CMYKcmyk(9.3%, 0%, 81.3%, 24.3%)
CIE-LABlab(74.43, -24.49, 69.25)
CIE-LCHlch(74.43, 73.45, 109.48°)
OKLaboklab(77.12% -0.0748 0.1502)
OKLCHoklch(77.12% 0.168 116.5)
XYZxyz(37.0686, 47.3818, 8.8616)
Luminance0.4738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC124 #3624C1
analogous
#C18524 #AFC124 #61C124
triadic
#AFC124 #24AFC1 #C124AF
tetradic
#AFC124 #24C185 #3624C1 #C12461
square
#AFC124 #24C185 #3624C1 #C12461
split-complementary
#AFC124 #2461C1 #8524C1
monochromatic
#515A11 #808D1A #AFC124 #CBDC46 #DAE679

Accessibility & contrast

On white

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

On black

10.48
#AFC124 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC124
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC124#FFFFFF#000000##000000
##AFC1241.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB600
Deuteranopia (green-blind)
#CDB834
Tritanopia (blue-blind)
#BBB6A5
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #afc124;
/* rgb */ color: rgb(175, 193, 36);
/* oklch */ color: oklch(77.1% 0.168 116.5);
Tailwind
colors: {
  custom: {
    50: '#cbd36f',
    500: '#afc124',
    950: '#000000',
  },
}
SCSS
$custom: #afc124;
$custom-light: #cbd36f;
$custom-dark: #000000;
JSON
{
  "hex": "#afc124",
  "rgb": {
    "r": 175,
    "g": 193,
    "b": 36
  },
  "hsl": {
    "h": 66.879,
    "s": 68.559,
    "l": 44.902
  },
  "oklch": {
    "l": 0.77124,
    "c": 0.16777,
    "h": 116.5
  },
  "luminance": 0.47381
}

Semantic roles & 50–950 ramp

primary
#AFC124
secondary
#7D73CE
accent
#3CEB50
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B

Preview Lab

Preview with #AFC124

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

Preview Lab → · Contrast checker → · Palette generator →

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