#FAF388#FAF388

#FAF388 is a very light, vivid yellow. Relative luminance 0.862; OKLCH L 94.8% C 0.129 H 105.3°. Best body text is #000000 at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#FAF388
RGBrgb(250, 243, 136)
HSLhsl(56, 92%, 76%)
HSVhsv(56, 46%, 98%)
CMYKcmyk(0%, 2.8%, 45.6%, 2%)
CIE-LABlab(94.40, -11.94, 52.14)
CIE-LCHlch(94.40, 53.49, 102.90°)
OKLaboklab(94.76% -0.0341 0.1248)
OKLCHoklch(94.76% 0.129 105.3)
XYZxyz(75.9206, 86.2048, 35.9277)
Luminance0.8620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF388 #888FFA
analogous
#FABA88 #FAF388 #C8FA88
triadic
#FAF388 #88FAF3 #F388FA
tetradic
#FAF388 #88FABA #888FFA #FA88C8
square
#FAF388 #88FABA #888FFA #FA88C8
split-complementary
#FAF388 #88C8FA #BA88FA
monochromatic
#F5E713 #F8ED4D #FAF388 #FCF9C3 #FEFCE2

Accessibility & contrast

On white

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

On black

18.24
#FAF388 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF388
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF388#FFFFFF#000000##000000
##FAF3881.001.1518.2418.24
#FFFFFF1.151.0021.0021.00
#00000018.2421.001.001.00
##00000018.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC7F
Deuteranopia (green-blind)
#FFF18D
Tritanopia (blue-blind)
#FFE7DA
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #faf388;
/* rgb */ color: rgb(250, 243, 136);
/* oklch */ color: oklch(94.8% 0.129 105.3);
Tailwind
colors: {
  custom: {
    50: '#fef6ad',
    500: '#faf388',
    950: '#000000',
  },
}
SCSS
$custom: #faf388;
$custom-light: #fef6ad;
$custom-dark: #000000;
JSON
{
  "hex": "#faf388",
  "rgb": {
    "r": 250,
    "g": 243,
    "b": 136
  },
  "hsl": {
    "h": 56.316,
    "s": 91.935,
    "l": 75.686
  },
  "oklch": {
    "l": 0.94757,
    "c": 0.12938,
    "h": 105.3
  },
  "luminance": 0.86203
}

Semantic roles & 50–950 ramp

primary
#FAF388
secondary
#4E56D9
accent
#0EE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FAF388

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

Preview Lab → · Contrast checker → · Palette generator →

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