#AFC036#AFC036

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

Color values

HEX#AFC036
RGBrgb(175, 192, 54)
HSLhsl(67, 56%, 48%)
HSVhsv(67, 72%, 75%)
CMYKcmyk(8.9%, 0%, 71.9%, 24.7%)
CIE-LABlab(74.24, -23.24, 63.53)
CIE-LCHlch(74.24, 67.65, 110.10°)
OKLaboklab(77% -0.07 0.1411)
OKLCHoklch(77% 0.158 116.4)
XYZxyz(37.1956, 47.0801, 10.6172)
Luminance0.4708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC036 #4736C0
analogous
#C08C36 #AFC036 #6AC036
triadic
#AFC036 #36AFC0 #C036AF
tetradic
#AFC036 #36C08C #4736C0 #C0366A
square
#AFC036 #36C08C #4736C0 #C0366A
split-complementary
#AFC036 #366AC0 #8C36C0
monochromatic
#58601B #839029 #AFC036 #C4D261 #D6E090

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFC036#FFFFFF#000000##000000
##AFC0361.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)
#CDB61C
Deuteranopia (green-blind)
#CCB741
Tritanopia (blue-blind)
#BAB5A5
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #afc036;
/* rgb */ color: rgb(175, 192, 54);
/* oklch */ color: oklch(77.0% 0.158 116.4);
Tailwind
colors: {
  custom: {
    50: '#cad276',
    500: '#afc036',
    950: '#000000',
  },
}
SCSS
$custom: #afc036;
$custom-light: #cad276;
$custom-dark: #000000;
JSON
{
  "hex": "#afc036",
  "rgb": {
    "r": 175,
    "g": 192,
    "b": 54
  },
  "hsl": {
    "h": 67.391,
    "s": 56.098,
    "l": 48.235
  },
  "oklch": {
    "l": 0.76997,
    "c": 0.1575,
    "h": 116.4
  },
  "luminance": 0.4708
}

Semantic roles & 50–950 ramp

primary
#AFC036
secondary
#8F87CB
accent
#48DF5B
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141409
muted
#82827B

Preview Lab

Preview with #AFC036

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

Preview Lab → · Contrast checker → · Palette generator →

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