#AFC037#AFC037

#AFC037 is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.0% C 0.157 H 116.4°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#AFC037
RGBrgb(175, 192, 55)
HSLhsl(67, 55%, 48%)
HSVhsv(67, 71%, 75%)
CMYKcmyk(8.9%, 0%, 71.4%, 24.7%)
CIE-LABlab(74.25, -23.19, 63.18)
CIE-LCHlch(74.25, 67.31, 110.16°)
OKLaboklab(77% -0.0698 0.1405)
OKLCHoklch(77% 0.157 116.4)
XYZxyz(37.2193, 47.0896, 10.7422)
Luminance0.4709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC037 #4837C0
analogous
#C08C37 #AFC037 #6AC037
triadic
#AFC037 #37AFC0 #C037AF
tetradic
#AFC037 #37C08C #4837C0 #C0376A
square
#AFC037 #37C08C #4837C0 #C0376A
split-complementary
#AFC037 #376AC0 #8C37C0
monochromatic
#58611C #849029 #AFC037 #C4D262 #D6E092

Accessibility & contrast

On white

2.02
#AFC037 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.42
#AFC037 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC037
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC037#FFFFFF#000000##000000
##AFC0371.002.0210.4210.42
#FFFFFF2.021.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB61E
Deuteranopia (green-blind)
#CCB742
Tritanopia (blue-blind)
#BAB5A5
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #afc037;
/* rgb */ color: rgb(175, 192, 55);
/* oklch */ color: oklch(77.0% 0.157 116.4);
Tailwind
colors: {
  custom: {
    50: '#cad277',
    500: '#afc037',
    950: '#000000',
  },
}
SCSS
$custom: #afc037;
$custom-light: #cad277;
$custom-dark: #000000;
JSON
{
  "hex": "#afc037",
  "rgb": {
    "r": 175,
    "g": 192,
    "b": 55
  },
  "hsl": {
    "h": 67.445,
    "s": 55.466,
    "l": 48.431
  },
  "oklch": {
    "l": 0.77004,
    "c": 0.15689,
    "h": 116.4
  },
  "luminance": 0.47089
}

Semantic roles & 50–950 ramp

primary
#AFC037
secondary
#9088CB
accent
#49DF5C
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141409
muted
#82827B

Preview Lab

Preview with #AFC037

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

Preview Lab → · Contrast checker → · Palette generator →

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