#FAF674#FAF674

#FAF674 is a very light, vivid yellow. Relative luminance 0.875; OKLCH L 95.1% C 0.151 H 107.3°. Best body text is #000000 at 18.50:1 contrast (WCAG AA passes).

Color values

HEX#FAF674
RGBrgb(250, 246, 116)
HSLhsl(58, 93%, 72%)
HSVhsv(58, 54%, 98%)
CMYKcmyk(0%, 1.6%, 53.6%, 2%)
CIE-LABlab(94.95, -15.10, 61.98)
CIE-LCHlch(94.95, 63.79, 103.69°)
OKLaboklab(95.12% -0.0451 0.1445)
OKLCHoklch(95.12% 0.151 107.3)
XYZxyz(75.5346, 87.4986, 29.4296)
Luminance0.8750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF674 #7478FA
analogous
#FAB374 #FAF674 #BBFA74
triadic
#FAF674 #74FAF6 #F674FA
tetradic
#FAF674 #74FAB3 #7478FA #FA74BB
square
#FAF674 #74FAB3 #7478FA #FA74BB
split-complementary
#FAF674 #74BBFA #B374FA
monochromatic
#EBE408 #F8F239 #FAF674 #FCFAAF #FEFDE1

Accessibility & contrast

On white

1.14
#FAF674 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.50
#FAF674 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF674
18.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF674#FFFFFF#000000##000000
##FAF6741.001.1418.5018.50
#FFFFFF1.141.0021.0021.00
#00000018.5021.001.001.00
##00000018.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE67
Deuteranopia (green-blind)
#FFF37B
Tritanopia (blue-blind)
#FFE8D9
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #faf674;
/* rgb */ color: rgb(250, 246, 116);
/* oklch */ color: oklch(95.1% 0.151 107.3);
Tailwind
colors: {
  custom: {
    50: '#fef9a0',
    500: '#faf674',
    950: '#000000',
  },
}
SCSS
$custom: #faf674;
$custom-light: #fef9a0;
$custom-dark: #000000;
JSON
{
  "hex": "#faf674",
  "rgb": {
    "r": 250,
    "g": 246,
    "b": 116
  },
  "hsl": {
    "h": 58.209,
    "s": 93.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.95123,
    "c": 0.15141,
    "h": 107.3
  },
  "luminance": 0.87496
}

Semantic roles & 50–950 ramp

primary
#FAF674
secondary
#3C41D6
accent
#07E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FAF674

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

Preview Lab → · Contrast checker → · Palette generator →

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