#FAF593#FAF593

#FAF593 is a very light, vivid yellow. Relative luminance 0.877; OKLCH L 95.3% C 0.120 H 105.9°. Best body text is #000000 at 18.55:1 contrast (WCAG AA passes).

Color values

HEX#FAF593
RGBrgb(250, 245, 147)
HSLhsl(57, 91%, 78%)
HSVhsv(57, 41%, 98%)
CMYKcmyk(0%, 2%, 41.2%, 2%)
CIE-LABlab(95.05, -11.86, 47.68)
CIE-LCHlch(95.05, 49.13, 103.97°)
OKLaboklab(95.32% -0.0329 0.1155)
OKLCHoklch(95.32% 0.12 105.9)
XYZxyz(77.3446, 87.7373, 40.4588)
Luminance0.8773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF593 #9398FA
analogous
#FAC193 #FAF593 #CCFA93
triadic
#FAF593 #93FAF5 #F593FA
tetradic
#FAF593 #93FAC1 #9398FA #FA93CC
square
#FAF593 #93FAC1 #9398FA #FA93CC
split-complementary
#FAF593 #93CCFA #C193FA
monochromatic
#F5EA1E #F7F059 #FAF593 #FDFACD #FEFCE2

Accessibility & contrast

On white

1.13
#FAF593 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.55
#FAF593 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF593
18.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF593#FFFFFF#000000##000000
##FAF5931.001.1318.5518.55
#FFFFFF1.131.0021.0021.00
#00000018.5521.001.001.00
##00000018.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE8B
Deuteranopia (green-blind)
#FFF397
Tritanopia (blue-blind)
#FFE9DD
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #faf593;
/* rgb */ color: rgb(250, 245, 147);
/* oklch */ color: oklch(95.3% 0.120 105.9);
Tailwind
colors: {
  custom: {
    50: '#fdf8b4',
    500: '#faf593',
    950: '#000000',
  },
}
SCSS
$custom: #faf593;
$custom-light: #fdf8b4;
$custom-dark: #000000;
JSON
{
  "hex": "#faf593",
  "rgb": {
    "r": 250,
    "g": 245,
    "b": 147
  },
  "hsl": {
    "h": 57.087,
    "s": 91.15,
    "l": 77.843
  },
  "oklch": {
    "l": 0.95319,
    "c": 0.12012,
    "h": 105.9
  },
  "luminance": 0.87735
}

Semantic roles & 50–950 ramp

primary
#FAF593
secondary
#575EDA
accent
#0BE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FAF593

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

Preview Lab → · Contrast checker → · Palette generator →

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