#FAF67F#FAF67F

#FAF67F is a very light, vivid yellow. Relative luminance 0.878; OKLCH L 95.3% C 0.141 H 107.1°. Best body text is #000000 at 18.55:1 contrast (WCAG AA passes).

Color values

HEX#FAF67F
RGBrgb(250, 246, 127)
HSLhsl(58, 92%, 74%)
HSVhsv(58, 49%, 98%)
CMYKcmyk(0%, 1.6%, 49.2%, 2%)
CIE-LABlab(95.06, -14.21, 57.15)
CIE-LCHlch(95.06, 58.89, 103.96°)
OKLaboklab(95.25% -0.0415 0.1351)
OKLCHoklch(95.25% 0.141 107.1)
XYZxyz(76.2127, 87.7699, 33.0012)
Luminance0.8777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF67F #7F83FA
analogous
#FAB97F #FAF67F #C1FA7F
triadic
#FAF67F #7FFAF6 #F67FFA
tetradic
#FAF67F #7FFAB9 #7F83FA #FA7FC1
square
#FAF67F #7FFAB9 #7F83FA #FA7FC1
split-complementary
#FAF67F #7FC1FA #B97FFA
monochromatic
#F5ED0A #F8F244 #FAF67F #FCFABA #FEFDE2

Accessibility & contrast

On white

1.13
#FAF67F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.55
#FAF67F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF67F
18.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF67F#FFFFFF#000000##000000
##FAF67F1.001.1318.5518.55
#FFFFFF1.131.0021.0021.00
#00000018.5521.001.001.00
##00000018.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE74
Deuteranopia (green-blind)
#FFF385
Tritanopia (blue-blind)
#FFE9DB
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #faf67f;
/* rgb */ color: rgb(250, 246, 127);
/* oklch */ color: oklch(95.3% 0.141 107.1);
Tailwind
colors: {
  custom: {
    50: '#fef9a7',
    500: '#faf67f',
    950: '#000000',
  },
}
SCSS
$custom: #faf67f;
$custom-light: #fef9a7;
$custom-dark: #000000;
JSON
{
  "hex": "#faf67f",
  "rgb": {
    "r": 250,
    "g": 246,
    "b": 127
  },
  "hsl": {
    "h": 58.049,
    "s": 92.481,
    "l": 73.922
  },
  "oklch": {
    "l": 0.95251,
    "c": 0.14132,
    "h": 107.1
  },
  "luminance": 0.87768
}

Semantic roles & 50–950 ramp

primary
#FAF67F
secondary
#464BD7
accent
#07E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #FAF67F

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

Preview Lab → · Contrast checker → · Palette generator →

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