#FAF457#FAF457

#FAF457 is a very light, vivid yellow. Relative luminance 0.857; OKLCH L 94.4% C 0.172 H 107.1°. Best body text is #000000 at 18.14:1 contrast (WCAG AA passes).

Color values

HEX#FAF457
RGBrgb(250, 244, 87)
HSLhsl(58, 94%, 66%)
HSVhsv(58, 65%, 98%)
CMYKcmyk(0%, 2.4%, 65.2%, 2%)
CIE-LABlab(94.19, -16.03, 73.18)
CIE-LCHlch(94.19, 74.92, 102.35°)
OKLaboklab(94.44% -0.0508 0.1646)
OKLCHoklch(94.44% 0.172 107.1)
XYZxyz(73.4980, 85.7159, 21.6882)
Luminance0.8571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF457 #575DFA
analogous
#FAA257 #FAF457 #AFFA57
triadic
#FAF457 #57FAF4 #F457FA
tetradic
#FAF457 #57FAA2 #575DFA #FA57AF
square
#FAF457 #57FAA2 #575DFA #FA57AF
split-complementary
#FAF457 #57AFFA #A257FA
monochromatic
#D0C906 #F8F01C #FAF457 #FCF892 #FEFCCE

Accessibility & contrast

On white

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

On black

18.14
#FAF457 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF457
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF457#FFFFFF#000000##000000
##FAF4571.001.1618.1418.14
#FFFFFF1.161.0021.0021.00
#00000018.1421.001.001.00
##00000018.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB41
Deuteranopia (green-blind)
#FFF161
Tritanopia (blue-blind)
#FFE5D4
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #faf457;
/* rgb */ color: rgb(250, 244, 87);
/* oklch */ color: oklch(94.4% 0.172 107.1);
Tailwind
colors: {
  custom: {
    50: '#fff78e',
    500: '#faf457',
    950: '#000000',
  },
}
SCSS
$custom: #faf457;
$custom-light: #fff78e;
$custom-dark: #000000;
JSON
{
  "hex": "#faf457",
  "rgb": {
    "r": 250,
    "g": 244,
    "b": 87
  },
  "hsl": {
    "h": 57.791,
    "s": 94.22,
    "l": 66.078
  },
  "oklch": {
    "l": 0.9444,
    "c": 0.17225,
    "h": 107.1
  },
  "luminance": 0.85713
}

Semantic roles & 50–950 ramp

primary
#FAF457
secondary
#2A30CB
accent
#08E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #FAF457

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

Preview Lab → · Contrast checker → · Palette generator →

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