#AFC046#AFC046

#AFC046 is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.1% C 0.146 H 116.7°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#AFC046
RGBrgb(175, 192, 70)
HSLhsl(68, 49%, 51%)
HSVhsv(68, 64%, 75%)
CMYKcmyk(8.9%, 0%, 63.5%, 24.7%)
CIE-LABlab(74.35, -22.29, 57.47)
CIE-LCHlch(74.35, 61.64, 111.20°)
OKLaboklab(77.12% -0.0658 0.1308)
OKLCHoklch(77.12% 0.146 116.7)
XYZxyz(37.6351, 47.2559, 12.9319)
Luminance0.4726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC046 #5746C0
analogous
#C09446 #AFC046 #72C046
triadic
#AFC046 #46AFC0 #C046AF
tetradic
#AFC046 #46C094 #5746C0 #C04672
square
#AFC046 #46C094 #5746C0 #C04672
split-complementary
#AFC046 #4672C0 #9446C0
monochromatic
#5F6823 #889633 #AFC046 #C3D074 #D6DFA1

Accessibility & contrast

On white

2.01
#AFC046 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.45
#AFC046 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC046
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC046#FFFFFF#000000##000000
##AFC0461.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB636
Deuteranopia (green-blind)
#CBB84E
Tritanopia (blue-blind)
#B9B6A7
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #afc046;
/* rgb */ color: rgb(175, 192, 70);
/* oklch */ color: oklch(77.1% 0.146 116.7);
Tailwind
colors: {
  custom: {
    50: '#cad37f',
    500: '#afc046',
    950: '#000000',
  },
}
SCSS
$custom: #afc046;
$custom-light: #cad37f;
$custom-dark: #000000;
JSON
{
  "hex": "#afc046",
  "rgb": {
    "r": 175,
    "g": 192,
    "b": 70
  },
  "hsl": {
    "h": 68.361,
    "s": 49.194,
    "l": 51.373
  },
  "oklch": {
    "l": 0.77123,
    "c": 0.14645,
    "h": 116.7
  },
  "luminance": 0.47255
}

Semantic roles & 50–950 ramp

primary
#AFC046
secondary
#9E96CC
accent
#4FD962
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140A
muted
#82827C

Preview Lab

Preview with #AFC046

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

Preview Lab → · Contrast checker → · Palette generator →

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