#FAF358#FAF358

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

Color values

HEX#FAF358
RGBrgb(250, 243, 88)
HSLhsl(57, 94%, 66%)
HSVhsv(57, 65%, 98%)
CMYKcmyk(0%, 2.8%, 64.8%, 2%)
CIE-LABlab(93.94, -15.49, 72.54)
CIE-LCHlch(93.94, 74.18, 102.05°)
OKLaboklab(94.24% -0.0491 0.1634)
OKLCHoklch(94.24% 0.171 106.7)
XYZxyz(73.2390, 85.1322, 21.8048)
Luminance0.8513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF358 #585FFA
analogous
#FAA258 #FAF358 #B0FA58
triadic
#FAF358 #58FAF3 #F358FA
tetradic
#FAF358 #58FAA2 #585FFA #FA58B0
square
#FAF358 #58FAA2 #585FFA #FA58B0
split-complementary
#FAF358 #58B0FA #A258FA
monochromatic
#D1C906 #F8EF1D #FAF358 #FCF793 #FEFCCF

Accessibility & contrast

On white

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

On black

18.03
#FAF358 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF358
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF358#FFFFFF#000000##000000
##FAF3581.001.1618.0318.03
#FFFFFF1.161.0021.0021.00
#00000018.0321.001.001.00
##00000018.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #faf358;
/* rgb */ color: rgb(250, 243, 88);
/* oklch */ color: oklch(94.2% 0.171 106.7);
Tailwind
colors: {
  custom: {
    50: '#fff68f',
    500: '#faf358',
    950: '#000000',
  },
}
SCSS
$custom: #faf358;
$custom-light: #fff68f;
$custom-dark: #000000;
JSON
{
  "hex": "#faf358",
  "rgb": {
    "r": 250,
    "g": 243,
    "b": 88
  },
  "hsl": {
    "h": 57.407,
    "s": 94.186,
    "l": 66.275
  },
  "oklch": {
    "l": 0.94243,
    "c": 0.17062,
    "h": 106.7
  },
  "luminance": 0.8513
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FAF358

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

Preview Lab → · Contrast checker → · Palette generator →

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