#FAF374#FAF374

#FAF374 is a very light, vivid yellow. Relative luminance 0.857; OKLCH L 94.5% C 0.148 H 106.0°. Best body text is #000000 at 18.14:1 contrast (WCAG AA passes).

Color values

HEX#FAF374
RGBrgb(250, 243, 116)
HSLhsl(57, 93%, 72%)
HSVhsv(57, 54%, 98%)
CMYKcmyk(0%, 2.8%, 53.6%, 2%)
CIE-LABlab(94.18, -13.63, 61.10)
CIE-LCHlch(94.18, 62.60, 102.58°)
OKLaboklab(94.51% -0.041 0.1426)
OKLCHoklch(94.51% 0.148 106)
XYZxyz(74.6295, 85.6884, 29.1279)
Luminance0.8569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF374 #747BFA
analogous
#FAB074 #FAF374 #BEFA74
triadic
#FAF374 #74FAF3 #F374FA
tetradic
#FAF374 #74FAB0 #747BFA #FA74BE
square
#FAF374 #74FAB0 #747BFA #FA74BE
split-complementary
#FAF374 #74BEFA #B074FA
monochromatic
#EBDF08 #F8EE39 #FAF374 #FCF8AF #FEFCE1

Accessibility & contrast

On white

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

On black

18.14
#FAF374 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF374
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF374#FFFFFF#000000##000000
##FAF3741.001.1618.1418.14
#FFFFFF1.161.0021.0021.00
#00000018.1421.001.001.00
##00000018.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB67
Deuteranopia (green-blind)
#FFF17B
Tritanopia (blue-blind)
#FFE5D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #faf374;
/* rgb */ color: rgb(250, 243, 116);
/* oklch */ color: oklch(94.5% 0.148 106.0);
Tailwind
colors: {
  custom: {
    50: '#fef6a0',
    500: '#faf374',
    950: '#000000',
  },
}
SCSS
$custom: #faf374;
$custom-light: #fef6a0;
$custom-dark: #000000;
JSON
{
  "hex": "#faf374",
  "rgb": {
    "r": 250,
    "g": 243,
    "b": 116
  },
  "hsl": {
    "h": 56.866,
    "s": 93.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.9451,
    "c": 0.14839,
    "h": 106
  },
  "luminance": 0.85686
}

Semantic roles & 50–950 ramp

primary
#FAF374
secondary
#3C44D6
accent
#0CE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FAF374

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

Preview Lab → · Contrast checker → · Palette generator →

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