#FAF57A#FAF57A

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

Color values

HEX#FAF57A
RGBrgb(250, 245, 122)
HSLhsl(58, 93%, 73%)
HSVhsv(58, 51%, 98%)
CMYKcmyk(0%, 2%, 51.2%, 2%)
CIE-LABlab(94.75, -14.14, 59.06)
CIE-LCHlch(94.75, 60.73, 103.46°)
OKLaboklab(94.99% -0.0418 0.1388)
OKLCHoklch(94.99% 0.145 106.7)
XYZxyz(75.5916, 87.0361, 31.2263)
Luminance0.8703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF57A #7A7FFA
analogous
#FAB57A #FAF57A #BFFA7A
triadic
#FAF57A #7AFAF5 #F57AFA
tetradic
#FAF57A #7AFAB5 #7A7FFA #FA7ABF
square
#FAF57A #7AFAB5 #7A7FFA #FA7ABF
split-complementary
#FAF57A #7ABFFA #B57AFA
monochromatic
#F1E809 #F8F13F #FAF57A #FCF9B5 #FEFDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FAF57A#FFFFFF#000000##000000
##FAF57A1.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)
#FFED6E
Deuteranopia (green-blind)
#FFF280
Tritanopia (blue-blind)
#FFE8D9
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #faf57a;
/* rgb */ color: rgb(250, 245, 122);
/* oklch */ color: oklch(95.0% 0.145 106.7);
Tailwind
colors: {
  custom: {
    50: '#fef8a3',
    500: '#faf57a',
    950: '#000000',
  },
}
SCSS
$custom: #faf57a;
$custom-light: #fef8a3;
$custom-dark: #000000;
JSON
{
  "hex": "#faf57a",
  "rgb": {
    "r": 250,
    "g": 245,
    "b": 122
  },
  "hsl": {
    "h": 57.656,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.94987,
    "c": 0.14497,
    "h": 106.7
  },
  "luminance": 0.87034
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FAF57A

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

Preview Lab → · Contrast checker → · Palette generator →

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