#AFC241#AFC241

#AFC241 is a light, vivid yellow. Relative luminance 0.481; OKLCH L 77.5% C 0.153 H 117.3°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#AFC241
RGBrgb(175, 194, 65)
HSLhsl(69, 51%, 51%)
HSVhsv(69, 66%, 76%)
CMYKcmyk(9.8%, 0%, 66.5%, 23.9%)
CIE-LABlab(74.88, -23.60, 60.05)
CIE-LCHlch(74.88, 64.52, 111.46°)
OKLaboklab(77.53% -0.0699 0.1355)
OKLCHoklch(77.53% 0.153 117.3)
XYZxyz(37.9259, 48.0796, 12.2824)
Luminance0.4808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC241 #5441C2
analogous
#C29441 #AFC241 #6EC241
triadic
#AFC241 #41AFC2 #C241AF
tetradic
#AFC241 #41C294 #5441C2 #C2416E
square
#AFC241 #41C294 #5441C2 #C2416E
split-complementary
#AFC241 #416EC2 #9441C2
monochromatic
#5D6721 #879630 #AFC241 #C3D16F #D6E09E

Accessibility & contrast

On white

1.98
#AFC241 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.62
#AFC241 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC241
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC241#FFFFFF#000000##000000
##AFC2411.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB82F
Deuteranopia (green-blind)
#CDB94A
Tritanopia (blue-blind)
#B9B7A8
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #afc241;
/* rgb */ color: rgb(175, 194, 65);
/* oklch */ color: oklch(77.5% 0.153 117.3);
Tailwind
colors: {
  custom: {
    50: '#cad47d',
    500: '#afc241',
    950: '#000000',
  },
}
SCSS
$custom: #afc241;
$custom-light: #cad47d;
$custom-dark: #000000;
JSON
{
  "hex": "#afc241",
  "rgb": {
    "r": 175,
    "g": 194,
    "b": 65
  },
  "hsl": {
    "h": 68.837,
    "s": 51.394,
    "l": 50.784
  },
  "oklch": {
    "l": 0.7753,
    "c": 0.15251,
    "h": 117.3
  },
  "luminance": 0.48079
}

Semantic roles & 50–950 ramp

primary
#AFC241
secondary
#9B93CC
accent
#4DDB62
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #AFC241

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

Preview Lab → · Contrast checker → · Palette generator →

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