#FAF667#FAF667

#FAF667 is a very light, vivid yellow. Relative luminance 0.872; OKLCH L 95.0% C 0.162 H 107.6°. Best body text is #000000 at 18.44:1 contrast (WCAG AA passes).

Color values

HEX#FAF667
RGBrgb(250, 246, 103)
HSLhsl(58, 94%, 69%)
HSVhsv(58, 59%, 98%)
CMYKcmyk(0%, 1.6%, 58.8%, 2%)
CIE-LABlab(94.83, -16.03, 67.45)
CIE-LCHlch(94.83, 69.33, 103.37°)
OKLaboklab(94.99% -0.0491 0.1547)
OKLCHoklch(94.99% 0.162 107.6)
XYZxyz(74.8306, 87.2170, 25.7221)
Luminance0.8721 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF667 #676BFA
analogous
#FAAC67 #FAF667 #B5FA67
triadic
#FAF667 #67FAF6 #F667FA
tetradic
#FAF667 #67FAAC #676BFA #FA67B5
square
#FAF667 #67FAAC #676BFA #FA67B5
split-complementary
#FAF667 #67B5FA #AC67FA
monochromatic
#DFD907 #F8F22C #FAF667 #FCFAA2 #FEFDDE

Accessibility & contrast

On white

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

On black

18.44
#FAF667 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF667
18.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF667#FFFFFF#000000##000000
##FAF6671.001.1418.4418.44
#FFFFFF1.141.0021.0021.00
#00000018.4421.001.001.00
##00000018.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED57
Deuteranopia (green-blind)
#FFF36F
Tritanopia (blue-blind)
#FFE7D7
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #faf667;
/* rgb */ color: rgb(250, 246, 103);
/* oklch */ color: oklch(95.0% 0.162 107.6);
Tailwind
colors: {
  custom: {
    50: '#fff898',
    500: '#faf667',
    950: '#000000',
  },
}
SCSS
$custom: #faf667;
$custom-light: #fff898;
$custom-dark: #000000;
JSON
{
  "hex": "#faf667",
  "rgb": {
    "r": 250,
    "g": 246,
    "b": 103
  },
  "hsl": {
    "h": 58.367,
    "s": 93.631,
    "l": 69.216
  },
  "oklch": {
    "l": 0.9499,
    "c": 0.16232,
    "h": 107.6
  },
  "luminance": 0.87215
}

Semantic roles & 50–950 ramp

primary
#FAF667
secondary
#3136D4
accent
#06E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FAF667

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

Preview Lab → · Contrast checker → · Palette generator →

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