#FAF57D#FAF57D

#FAF57D is a very light, vivid yellow. Relative luminance 0.871; OKLCH L 95.0% C 0.142 H 106.7°. Best body text is #000000 at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#FAF57D
RGBrgb(250, 245, 125)
HSLhsl(58, 93%, 74%)
HSVhsv(58, 50%, 98%)
CMYKcmyk(0%, 2%, 50%, 2%)
CIE-LABlab(94.79, -13.89, 57.73)
CIE-LCHlch(94.79, 59.38, 103.53°)
OKLaboklab(95.02% -0.0408 0.1362)
OKLCHoklch(95.02% 0.142 106.7)
XYZxyz(75.7803, 87.1116, 32.2204)
Luminance0.8711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF57D #7D82FA
analogous
#FAB67D #FAF57D #C0FA7D
triadic
#FAF57D #7DFAF5 #F57DFA
tetradic
#FAF57D #7DFAB6 #7D82FA #FA7DC0
square
#FAF57D #7DFAB6 #7D82FA #FA7DC0
split-complementary
#FAF57D #7DC0FA #B67DFA
monochromatic
#F3EA09 #F8F042 #FAF57D #FCFAB8 #FEFDE2

Accessibility & contrast

On white

1.14
#FAF57D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.42
#FAF57D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF57D
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF57D#FFFFFF#000000##000000
##FAF57D1.001.1418.4218.42
#FFFFFF1.141.0021.0021.00
#00000018.4221.001.001.00
##00000018.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED72
Deuteranopia (green-blind)
#FFF283
Tritanopia (blue-blind)
#FFE8DA
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #faf57d;
/* rgb */ color: rgb(250, 245, 125);
/* oklch */ color: oklch(95.0% 0.142 106.7);
Tailwind
colors: {
  custom: {
    50: '#fef8a5',
    500: '#faf57d',
    950: '#000000',
  },
}
SCSS
$custom: #faf57d;
$custom-light: #fef8a5;
$custom-dark: #000000;
JSON
{
  "hex": "#faf57d",
  "rgb": {
    "r": 250,
    "g": 245,
    "b": 125
  },
  "hsl": {
    "h": 57.6,
    "s": 92.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.95023,
    "c": 0.14218,
    "h": 106.7
  },
  "luminance": 0.87109
}

Semantic roles & 50–950 ramp

primary
#FAF57D
secondary
#444AD7
accent
#09E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FAF57D

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

Preview Lab → · Contrast checker → · Palette generator →

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