#FAF45D#FAF45D

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

Color values

HEX#FAF45D
RGBrgb(250, 244, 93)
HSLhsl(58, 94%, 67%)
HSVhsv(58, 63%, 98%)
CMYKcmyk(0%, 2.4%, 62.8%, 2%)
CIE-LABlab(94.23, -15.68, 70.89)
CIE-LCHlch(94.23, 72.61, 102.48°)
OKLaboklab(94.49% -0.0492 0.1606)
OKLCHoklch(94.49% 0.168 107)
XYZxyz(73.7534, 85.8180, 23.0333)
Luminance0.8582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF45D #5D63FA
analogous
#FAA65D #FAF45D #B2FA5D
triadic
#FAF45D #5DFAF4 #F45DFA
tetradic
#FAF45D #5DFAA6 #5D63FA #FA5DB2
square
#FAF45D #5DFAA6 #5D63FA #FA5DB2
split-complementary
#FAF45D #5DB2FA #A65DFA
monochromatic
#D6CE07 #F8F022 #FAF45D #FCF898 #FEFCD4

Accessibility & contrast

On white

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

On black

18.16
#FAF45D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF45D
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF45D#FFFFFF#000000##000000
##FAF45D1.001.1618.1618.16
#FFFFFF1.161.0021.0021.00
#00000018.1621.001.001.00
##00000018.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB4A
Deuteranopia (green-blind)
#FFF166
Tritanopia (blue-blind)
#FFE5D5
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #faf45d;
/* rgb */ color: rgb(250, 244, 93);
/* oklch */ color: oklch(94.5% 0.168 107.0);
Tailwind
colors: {
  custom: {
    50: '#fff792',
    500: '#faf45d',
    950: '#000000',
  },
}
SCSS
$custom: #faf45d;
$custom-light: #fff792;
$custom-dark: #000000;
JSON
{
  "hex": "#faf45d",
  "rgb": {
    "r": 250,
    "g": 244,
    "b": 93
  },
  "hsl": {
    "h": 57.707,
    "s": 94.012,
    "l": 67.255
  },
  "oklch": {
    "l": 0.94489,
    "c": 0.16801,
    "h": 107
  },
  "luminance": 0.85816
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FAF45D

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

Preview Lab → · Contrast checker → · Palette generator →

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