#FAF357#FAF357

#FAF357 is a very light, vivid yellow. Relative luminance 0.851; OKLCH L 94.2% C 0.171 H 106.8°. Best body text is #000000 at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#FAF357
RGBrgb(250, 243, 87)
HSLhsl(57, 94%, 66%)
HSVhsv(57, 65%, 98%)
CMYKcmyk(0%, 2.8%, 65.2%, 2%)
CIE-LABlab(93.93, -15.54, 72.92)
CIE-LCHlch(93.93, 74.56, 102.03°)
OKLaboklab(94.24% -0.0494 0.164)
OKLCHoklch(94.24% 0.171 106.8)
XYZxyz(73.1979, 85.1157, 21.5882)
Luminance0.8511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF357 #575EFA
analogous
#FAA157 #FAF357 #AFFA57
triadic
#FAF357 #57FAF3 #F357FA
tetradic
#FAF357 #57FAA1 #575EFA #FA57AF
square
#FAF357 #57FAA1 #575EFA #FA57AF
split-complementary
#FAF357 #57AFFA #A157FA
monochromatic
#D0C806 #F8EF1C #FAF357 #FCF792 #FEFBCE

Accessibility & contrast

On white

1.17
#FAF357 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.02
#FAF357 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF357
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF357#FFFFFF#000000##000000
##FAF3571.001.1718.0218.02
#FFFFFF1.171.0021.0021.00
#00000018.0221.001.001.00
##00000018.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA41
Deuteranopia (green-blind)
#FFF061
Tritanopia (blue-blind)
#FFE4D3
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #faf357;
/* rgb */ color: rgb(250, 243, 87);
/* oklch */ color: oklch(94.2% 0.171 106.8);
Tailwind
colors: {
  custom: {
    50: '#fff68e',
    500: '#faf357',
    950: '#000000',
  },
}
SCSS
$custom: #faf357;
$custom-light: #fff68e;
$custom-dark: #000000;
JSON
{
  "hex": "#faf357",
  "rgb": {
    "r": 250,
    "g": 243,
    "b": 87
  },
  "hsl": {
    "h": 57.423,
    "s": 94.22,
    "l": 66.078
  },
  "oklch": {
    "l": 0.94235,
    "c": 0.17131,
    "h": 106.8
  },
  "luminance": 0.85113
}

Semantic roles & 50–950 ramp

primary
#FAF357
secondary
#2A31CB
accent
#0AE600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #FAF357

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

Preview Lab → · Contrast checker → · Palette generator →

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