#FAF174#FAF174

#FAF174 is a very light, vivid yellow. Relative luminance 0.845; OKLCH L 94.1% C 0.146 H 105.1°. Best body text is #000000 at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#FAF174
RGBrgb(250, 241, 116)
HSLhsl(56, 93%, 72%)
HSVhsv(56, 54%, 98%)
CMYKcmyk(0%, 3.6%, 53.6%, 2%)
CIE-LABlab(93.67, -12.65, 60.50)
CIE-LCHlch(93.67, 61.81, 101.81°)
OKLaboklab(94.1% -0.0382 0.1414)
OKLCHoklch(94.1% 0.146 105.1)
XYZxyz(74.0342, 84.4979, 28.9295)
Luminance0.8450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF174 #747DFA
analogous
#FAAE74 #FAF174 #C0FA74
triadic
#FAF174 #74FAF1 #F174FA
tetradic
#FAF174 #74FAAE #747DFA #FA74C0
square
#FAF174 #74FAAE #747DFA #FA74C0
split-complementary
#FAF174 #74C0FA #AE74FA
monochromatic
#EBDC08 #F8EB39 #FAF174 #FCF7AF #FEFCE1

Accessibility & contrast

On white

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

On black

17.90
#FAF174 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF174
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF174#FFFFFF#000000##000000
##FAF1741.001.1717.9017.90
#FFFFFF1.171.0021.0021.00
#00000017.9021.001.001.00
##00000017.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE968
Deuteranopia (green-blind)
#FFF07A
Tritanopia (blue-blind)
#FFE3D5
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #faf174;
/* rgb */ color: rgb(250, 241, 116);
/* oklch */ color: oklch(94.1% 0.146 105.1);
Tailwind
colors: {
  custom: {
    50: '#fef59f',
    500: '#faf174',
    950: '#000000',
  },
}
SCSS
$custom: #faf174;
$custom-light: #fef59f;
$custom-dark: #000000;
JSON
{
  "hex": "#faf174",
  "rgb": {
    "r": 250,
    "g": 241,
    "b": 116
  },
  "hsl": {
    "h": 55.97,
    "s": 93.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.94102,
    "c": 0.14641,
    "h": 105.1
  },
  "luminance": 0.84496
}

Semantic roles & 50–950 ramp

primary
#FAF174
secondary
#3C47D6
accent
#0FE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FAF174

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

Preview Lab → · Contrast checker → · Palette generator →

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