#FAF652#FAF652

#FAF652 is a very light, vivid yellow. Relative luminance 0.868; OKLCH L 94.8% C 0.177 H 108.0°. Best body text is #000000 at 18.37:1 contrast (WCAG AA passes).

Color values

HEX#FAF652
RGBrgb(250, 246, 82)
HSLhsl(59, 94%, 65%)
HSVhsv(59, 67%, 98%)
CMYKcmyk(0%, 1.6%, 67.2%, 2%)
CIE-LABlab(94.67, -17.26, 75.54)
CIE-LCHlch(94.67, 77.48, 102.87°)
OKLaboklab(94.82% -0.0547 0.1688)
OKLCHoklch(94.82% 0.177 108)
XYZxyz(73.9058, 86.8471, 20.8511)
Luminance0.8685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF652 #5256FA
analogous
#FAA252 #FAF652 #AAFA52
triadic
#FAF652 #52FAF6 #F652FA
tetradic
#FAF652 #52FAA2 #5256FA #FA52AA
square
#FAF652 #52FAA2 #5256FA #FA52AA
split-complementary
#FAF652 #52AAFA #A252FA
monochromatic
#CCC706 #F8F317 #FAF652 #FCF98D #FDFCC9

Accessibility & contrast

On white

1.14
#FAF652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.37
#FAF652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF652
18.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF652#FFFFFF#000000##000000
##FAF6521.001.1418.3718.37
#FFFFFF1.141.0021.0021.00
#00000018.3721.001.001.00
##00000018.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC39
Deuteranopia (green-blind)
#FFF25D
Tritanopia (blue-blind)
#FFE7D5
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #faf652;
/* rgb */ color: rgb(250, 246, 82);
/* oklch */ color: oklch(94.8% 0.177 108.0);
Tailwind
colors: {
  custom: {
    50: '#fff88c',
    500: '#faf652',
    950: '#000000',
  },
}
SCSS
$custom: #faf652;
$custom-light: #fff88c;
$custom-dark: #000000;
JSON
{
  "hex": "#faf652",
  "rgb": {
    "r": 250,
    "g": 246,
    "b": 82
  },
  "hsl": {
    "h": 58.571,
    "s": 94.382,
    "l": 65.098
  },
  "oklch": {
    "l": 0.94815,
    "c": 0.17743,
    "h": 108
  },
  "luminance": 0.86845
}

Semantic roles & 50–950 ramp

primary
#FAF652
secondary
#292DC7
accent
#05E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #FAF652

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

Preview Lab → · Contrast checker → · Palette generator →

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