#FAF45A#FAF45A

#FAF45A is a very light, vivid yellow. Relative luminance 0.858; OKLCH L 94.5% C 0.170 H 107.1°. Best body text is #000000 at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#FAF45A
RGBrgb(250, 244, 90)
HSLhsl(58, 94%, 67%)
HSVhsv(58, 64%, 98%)
CMYKcmyk(0%, 2.4%, 64%, 2%)
CIE-LABlab(94.21, -15.86, 72.05)
CIE-LCHlch(94.21, 73.77, 102.41°)
OKLaboklab(94.46% -0.05 0.1627)
OKLCHoklch(94.46% 0.17 107.1)
XYZxyz(73.6231, 85.7659, 22.3472)
Luminance0.8576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF45A #5A60FA
analogous
#FAA45A #FAF45A #B0FA5A
triadic
#FAF45A #5AFAF4 #F45AFA
tetradic
#FAF45A #5AFAA4 #5A60FA #FA5AB0
square
#FAF45A #5AFAA4 #5A60FA #FA5AB0
split-complementary
#FAF45A #5AB0FA #A45AFA
monochromatic
#D3CC06 #F8F01F #FAF45A #FCF895 #FEFCD1

Accessibility & contrast

On white

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

On black

18.15
#FAF45A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF45A
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF45A#FFFFFF#000000##000000
##FAF45A1.001.1618.1518.15
#FFFFFF1.161.0021.0021.00
#00000018.1521.001.001.00
##00000018.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB45
Deuteranopia (green-blind)
#FFF164
Tritanopia (blue-blind)
#FFE5D4
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #faf45a;
/* rgb */ color: rgb(250, 244, 90);
/* oklch */ color: oklch(94.5% 0.170 107.1);
Tailwind
colors: {
  custom: {
    50: '#fff790',
    500: '#faf45a',
    950: '#000000',
  },
}
SCSS
$custom: #faf45a;
$custom-light: #fff790;
$custom-dark: #000000;
JSON
{
  "hex": "#faf45a",
  "rgb": {
    "r": 250,
    "g": 244,
    "b": 90
  },
  "hsl": {
    "h": 57.75,
    "s": 94.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.94464,
    "c": 0.17016,
    "h": 107.1
  },
  "luminance": 0.85764
}

Semantic roles & 50–950 ramp

primary
#FAF45A
secondary
#2A30CE
accent
#09E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #FAF45A

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

Preview Lab → · Contrast checker → · Palette generator →

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