#FAF94D#FAF94D

#FAF94D is a very light, vivid yellow. Relative luminance 0.886; OKLCH L 95.4% C 0.183 H 109.1°. Best body text is #000000 at 18.72:1 contrast (WCAG AA passes).

Color values

HEX#FAF94D
RGBrgb(250, 249, 77)
HSLhsl(60, 95%, 64%)
HSVhsv(60, 69%, 98%)
CMYKcmyk(0%, 0.4%, 69.2%, 2%)
CIE-LABlab(95.42, -18.95, 78.05)
CIE-LCHlch(95.42, 80.32, 103.65°)
OKLaboklab(95.4% -0.06 0.1733)
OKLCHoklch(95.4% 0.183 109.1)
XYZxyz(74.6422, 88.6134, 20.1920)
Luminance0.8861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF94D #4D4EFA
analogous
#FAA34D #FAF94D #A5FA4D
triadic
#FAF94D #4DFAF9 #F94DFA
tetradic
#FAF94D #4DFAA3 #4D4EFA #FA4DA5
square
#FAF94D #4DFAA3 #4D4EFA #FA4DA5
split-complementary
#FAF94D #4DA5FA #A34DFA
monochromatic
#C7C606 #F8F711 #FAF94D #FCFB89 #FDFDC4

Accessibility & contrast

On white

1.12
#FAF94D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.72
#FAF94D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF94D
18.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF94D#FFFFFF#000000##000000
##FAF94D1.001.1218.7218.72
#FFFFFF1.121.0021.0021.00
#00000018.7221.001.001.00
##00000018.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF2F
Deuteranopia (green-blind)
#FFF45A
Tritanopia (blue-blind)
#FFE9D7
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #faf94d;
/* rgb */ color: rgb(250, 249, 77);
/* oklch */ color: oklch(95.4% 0.183 109.1);
Tailwind
colors: {
  custom: {
    50: '#fffb89',
    500: '#faf94d',
    950: '#000000',
  },
}
SCSS
$custom: #faf94d;
$custom-light: #fffb89;
$custom-dark: #000000;
JSON
{
  "hex": "#faf94d",
  "rgb": {
    "r": 250,
    "g": 249,
    "b": 77
  },
  "hsl": {
    "h": 59.653,
    "s": 94.536,
    "l": 64.118
  },
  "oklch": {
    "l": 0.95399,
    "c": 0.18335,
    "h": 109.1
  },
  "luminance": 0.88611
}

Semantic roles & 50–950 ramp

primary
#FAF94D
secondary
#2829C3
accent
#01E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170C
muted
#87857F

Preview Lab

Preview with #FAF94D

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

Preview Lab → · Contrast checker → · Palette generator →

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