#FAF293#FAF293

#FAF293 is a very light, moderate yellow. Relative luminance 0.859; OKLCH L 94.7% C 0.117 H 104.2°. Best body text is #000000 at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#FAF293
RGBrgb(250, 242, 147)
HSLhsl(55, 91%, 78%)
HSVhsv(55, 41%, 98%)
CMYKcmyk(0%, 3.2%, 41.2%, 2%)
CIE-LABlab(94.29, -10.38, 46.72)
CIE-LCHlch(94.29, 47.86, 102.53°)
OKLaboklab(94.71% -0.0287 0.1133)
OKLCHoklch(94.71% 0.117 104.2)
XYZxyz(76.4444, 85.9368, 40.1587)
Luminance0.8593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF293 #939BFA
analogous
#FABE93 #FAF293 #CEFA93
triadic
#FAF293 #93FAF2 #F293FA
tetradic
#FAF293 #93FABE #939BFA #FA93CE
square
#FAF293 #93FABE #939BFA #FA93CE
split-complementary
#FAF293 #93CEFA #BE93FA
monochromatic
#F5E41E #F7EB59 #FAF293 #FDF9CD #FEFBE2

Accessibility & contrast

On white

1.15
#FAF293 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.19
#FAF293 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF293
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF293#FFFFFF#000000##000000
##FAF2931.001.1518.1918.19
#FFFFFF1.151.0021.0021.00
#00000018.1921.001.001.00
##00000018.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC8C
Deuteranopia (green-blind)
#FFF197
Tritanopia (blue-blind)
#FFE6DB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #faf293;
/* rgb */ color: rgb(250, 242, 147);
/* oklch */ color: oklch(94.7% 0.117 104.2);
Tailwind
colors: {
  custom: {
    50: '#fdf6b4',
    500: '#faf293',
    950: '#000000',
  },
}
SCSS
$custom: #faf293;
$custom-light: #fdf6b4;
$custom-dark: #000000;
JSON
{
  "hex": "#faf293",
  "rgb": {
    "r": 250,
    "g": 242,
    "b": 147
  },
  "hsl": {
    "h": 55.34,
    "s": 91.15,
    "l": 77.843
  },
  "oklch": {
    "l": 0.94712,
    "c": 0.11691,
    "h": 104.2
  },
  "luminance": 0.85935
}

Semantic roles & 50–950 ramp

primary
#FAF293
secondary
#5761DA
accent
#12E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FAF293

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

Preview Lab → · Contrast checker → · Palette generator →

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