#FAFE5F#FAFE5F

#FAFE5F is a very light, vivid yellow. Relative luminance 0.920; OKLCH L 96.6% C 0.176 H 110.7°. Best body text is #000000 at 19.41:1 contrast (WCAG AA passes).

Color values

HEX#FAFE5F
RGBrgb(250, 254, 95)
HSLhsl(62, 99%, 68%)
HSVhsv(62, 63%, 100%)
CMYKcmyk(1.6%, 0%, 62.6%, 0.4%)
CIE-LABlab(96.83, -20.38, 72.84)
CIE-LCHlch(96.83, 75.63, 105.63°)
OKLaboklab(96.57% -0.0622 0.165)
OKLCHoklch(96.57% 0.176 110.7)
XYZxyz(76.9340, 92.0358, 24.5363)
Luminance0.9203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFE5F #635FFE
analogous
#FEB25F #FAFE5F #ABFE5F
triadic
#FAFE5F #5FFAFE #FE5FFA
tetradic
#FAFE5F #5FFEB2 #635FFE #FE5FAB
square
#FAFE5F #5FFEB2 #635FFE #FE5FAB
split-complementary
#FAFE5F #5FABFE #B25FFE
monochromatic
#DCE101 #F8FE22 #FAFE5F #FCFE9C #FEFFD9

Accessibility & contrast

On white

1.08
#FAFE5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.41
#FAFE5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFE5F
19.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFE5F#FFFFFF#000000##000000
##FAFE5F1.001.0819.4119.41
#FFFFFF1.081.0021.0021.00
#00000019.4121.001.001.00
##00000019.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF34A
Deuteranopia (green-blind)
#FFF869
Tritanopia (blue-blind)
#FFEFDD
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fafe5f;
/* rgb */ color: rgb(250, 254, 95);
/* oklch */ color: oklch(96.6% 0.176 110.7);
Tailwind
colors: {
  custom: {
    50: '#fffe93',
    500: '#fafe5f',
    950: '#000000',
  },
}
SCSS
$custom: #fafe5f;
$custom-light: #fffe93;
$custom-dark: #000000;
JSON
{
  "hex": "#fafe5f",
  "rgb": {
    "r": 250,
    "g": 254,
    "b": 95
  },
  "hsl": {
    "h": 61.509,
    "s": 98.758,
    "l": 68.431
  },
  "oklch": {
    "l": 0.96569,
    "c": 0.17639,
    "h": 110.7
  },
  "luminance": 0.92034
}

Semantic roles & 50–950 ramp

primary
#FAFE5F
secondary
#2E29D8
accent
#00E606
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FAFE5F

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

Preview Lab → · Contrast checker → · Palette generator →

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