#FAF592#FAF592

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

Color values

HEX#FAF592
RGBrgb(250, 245, 146)
HSLhsl(57, 91%, 78%)
HSVhsv(57, 42%, 98%)
CMYKcmyk(0%, 2%, 41.6%, 2%)
CIE-LABlab(95.04, -11.96, 48.15)
CIE-LCHlch(95.04, 49.61, 103.95°)
OKLaboklab(95.3% -0.0333 0.1165)
OKLCHoklch(95.3% 0.121 106)
XYZxyz(77.2665, 87.7060, 40.0473)
Luminance0.8770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF592 #9297FA
analogous
#FAC192 #FAF592 #CBFA92
triadic
#FAF592 #92FAF5 #F592FA
tetradic
#FAF592 #92FAC1 #9297FA #FA92CB
square
#FAF592 #92FAC1 #9297FA #FA92CB
split-complementary
#FAF592 #92CBFA #C192FA
monochromatic
#F5EA1D #F7F057 #FAF592 #FDFACD #FEFCE2

Accessibility & contrast

On white

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

On black

18.54
#FAF592 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF592
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF592#FFFFFF#000000##000000
##FAF5921.001.1318.5418.54
#FFFFFF1.131.0021.0021.00
#00000018.5421.001.001.00
##00000018.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #faf592;
/* rgb */ color: rgb(250, 245, 146);
/* oklch */ color: oklch(95.3% 0.121 106.0);
Tailwind
colors: {
  custom: {
    50: '#fdf8b3',
    500: '#faf592',
    950: '#000000',
  },
}
SCSS
$custom: #faf592;
$custom-light: #fdf8b3;
$custom-dark: #000000;
JSON
{
  "hex": "#faf592",
  "rgb": {
    "r": 250,
    "g": 245,
    "b": 146
  },
  "hsl": {
    "h": 57.115,
    "s": 91.228,
    "l": 77.647
  },
  "oklch": {
    "l": 0.95304,
    "c": 0.12118,
    "h": 106
  },
  "luminance": 0.87704
}

Semantic roles & 50–950 ramp

primary
#FAF592
secondary
#565DDA
accent
#0BE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FAF592

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

Preview Lab → · Contrast checker → · Palette generator →

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