#FAF378#FAF378

#FAF378 is a very light, vivid yellow. Relative luminance 0.858; OKLCH L 94.6% C 0.145 H 105.9°. Best body text is #000000 at 18.16:1 contrast (WCAG AA passes).

Color values

HEX#FAF378
RGBrgb(250, 243, 120)
HSLhsl(57, 93%, 73%)
HSVhsv(57, 52%, 98%)
CMYKcmyk(0%, 2.8%, 52%, 2%)
CIE-LABlab(94.22, -13.32, 59.35)
CIE-LCHlch(94.22, 60.82, 102.65°)
OKLaboklab(94.56% -0.0396 0.1393)
OKLCHoklch(94.56% 0.145 105.9)
XYZxyz(74.8672, 85.7835, 30.3798)
Luminance0.8578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF378 #787FFA
analogous
#FAB278 #FAF378 #C0FA78
triadic
#FAF378 #78FAF3 #F378FA
tetradic
#FAF378 #78FAB2 #787FFA #FA78C0
square
#FAF378 #78FAB2 #787FFA #FA78C0
split-complementary
#FAF378 #78C0FA #B278FA
monochromatic
#EFE209 #F8EE3D #FAF378 #FCF8B3 #FEFCE1

Accessibility & contrast

On white

1.16
#FAF378 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.16
#FAF378 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF378
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF378#FFFFFF#000000##000000
##FAF3781.001.1618.1618.16
#FFFFFF1.161.0021.0021.00
#00000018.1621.001.001.00
##00000018.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB6C
Deuteranopia (green-blind)
#FFF17E
Tritanopia (blue-blind)
#FFE5D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #faf378;
/* rgb */ color: rgb(250, 243, 120);
/* oklch */ color: oklch(94.6% 0.145 105.9);
Tailwind
colors: {
  custom: {
    50: '#fef6a2',
    500: '#faf378',
    950: '#000000',
  },
}
SCSS
$custom: #faf378;
$custom-light: #fef6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#faf378",
  "rgb": {
    "r": 250,
    "g": 243,
    "b": 120
  },
  "hsl": {
    "h": 56.769,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.94555,
    "c": 0.14478,
    "h": 105.9
  },
  "luminance": 0.85781
}

Semantic roles & 50–950 ramp

primary
#FAF378
secondary
#4048D6
accent
#0CE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FAF378

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

Preview Lab → · Contrast checker → · Palette generator →

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