#FAF458#FAF458

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

Color values

HEX#FAF458
RGBrgb(250, 244, 88)
HSLhsl(58, 94%, 66%)
HSVhsv(58, 65%, 98%)
CMYKcmyk(0%, 2.4%, 64.8%, 2%)
CIE-LABlab(94.20, -15.97, 72.81)
CIE-LCHlch(94.20, 74.54, 102.37°)
OKLaboklab(94.45% -0.0505 0.164)
OKLCHoklch(94.45% 0.172 107.1)
XYZxyz(73.5391, 85.7323, 21.9049)
Luminance0.8573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF458 #585EFA
analogous
#FAA358 #FAF458 #AFFA58
triadic
#FAF458 #58FAF4 #F458FA
tetradic
#FAF458 #58FAA3 #585EFA #FA58AF
square
#FAF458 #58FAA3 #585EFA #FA58AF
split-complementary
#FAF458 #58AFFA #A358FA
monochromatic
#D1CA06 #F8F01D #FAF458 #FCF893 #FEFCCF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FAF458#FFFFFF#000000##000000
##FAF4581.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)
#FFEB43
Deuteranopia (green-blind)
#FFF162
Tritanopia (blue-blind)
#FFE5D4
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #faf458;
/* rgb */ color: rgb(250, 244, 88);
/* oklch */ color: oklch(94.4% 0.172 107.1);
Tailwind
colors: {
  custom: {
    50: '#fff78f',
    500: '#faf458',
    950: '#000000',
  },
}
SCSS
$custom: #faf458;
$custom-light: #fff78f;
$custom-dark: #000000;
JSON
{
  "hex": "#faf458",
  "rgb": {
    "r": 250,
    "g": 244,
    "b": 88
  },
  "hsl": {
    "h": 57.778,
    "s": 94.186,
    "l": 66.275
  },
  "oklch": {
    "l": 0.94448,
    "c": 0.17156,
    "h": 107.1
  },
  "luminance": 0.8573
}

Semantic roles & 50–950 ramp

primary
#FAF458
secondary
#2A30CC
accent
#08E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #FAF458

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

Preview Lab → · Contrast checker → · Palette generator →

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