#FAF57B#FAF57B

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

Color values

HEX#FAF57B
RGBrgb(250, 245, 123)
HSLhsl(58, 93%, 73%)
HSVhsv(58, 51%, 98%)
CMYKcmyk(0%, 2%, 50.8%, 2%)
CIE-LABlab(94.76, -14.05, 58.62)
CIE-LCHlch(94.76, 60.28, 103.48°)
OKLaboklab(95% -0.0414 0.138)
OKLCHoklch(95% 0.144 106.7)
XYZxyz(75.6539, 87.0610, 31.5543)
Luminance0.8706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF57B #7B80FA
analogous
#FAB57B #FAF57B #BFFA7B
triadic
#FAF57B #7BFAF5 #F57BFA
tetradic
#FAF57B #7BFAB5 #7B80FA #FA7BBF
square
#FAF57B #7BFAB5 #7B80FA #FA7BBF
split-complementary
#FAF57B #7BBFFA #B57BFA
monochromatic
#F1E809 #F8F140 #FAF57B #FCF9B6 #FEFDE2

Accessibility & contrast

On white

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

On black

18.41
#FAF57B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF57B
18.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF57B#FFFFFF#000000##000000
##FAF57B1.001.1418.4118.41
#FFFFFF1.141.0021.0021.00
#00000018.4121.001.001.00
##00000018.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED70
Deuteranopia (green-blind)
#FFF281
Tritanopia (blue-blind)
#FFE8D9
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #faf57b;
/* rgb */ color: rgb(250, 245, 123);
/* oklch */ color: oklch(95.0% 0.144 106.7);
Tailwind
colors: {
  custom: {
    50: '#fef8a4',
    500: '#faf57b',
    950: '#000000',
  },
}
SCSS
$custom: #faf57b;
$custom-light: #fef8a4;
$custom-dark: #000000;
JSON
{
  "hex": "#faf57b",
  "rgb": {
    "r": 250,
    "g": 245,
    "b": 123
  },
  "hsl": {
    "h": 57.638,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.94999,
    "c": 0.14405,
    "h": 106.7
  },
  "luminance": 0.87059
}

Semantic roles & 50–950 ramp

primary
#FAF57B
secondary
#4248D7
accent
#09E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FAF57B

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

Preview Lab → · Contrast checker → · Palette generator →

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