#FAF366#FAF366

#FAF366 is a very light, vivid yellow. Relative luminance 0.854; OKLCH L 94.4% C 0.160 H 106.4°. Best body text is #000000 at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#FAF366
RGBrgb(250, 243, 102)
HSLhsl(57, 94%, 69%)
HSVhsv(57, 59%, 98%)
CMYKcmyk(0%, 2.8%, 59.2%, 2%)
CIE-LABlab(94.05, -14.63, 67.02)
CIE-LCHlch(94.05, 68.59, 102.32°)
OKLaboklab(94.37% -0.0453 0.1537)
OKLCHoklch(94.37% 0.16 106.4)
XYZxyz(73.8756, 85.3868, 25.1576)
Luminance0.8538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF366 #666DFA
analogous
#FAA966 #FAF366 #B7FA66
triadic
#FAF366 #66FAF3 #F366FA
tetradic
#FAF366 #66FAA9 #666DFA #FA66B7
square
#FAF366 #66FAA9 #666DFA #FA66B7
split-complementary
#FAF366 #66B7FA #A966FA
monochromatic
#DED407 #F8EE2B #FAF366 #FCF8A1 #FEFCDD

Accessibility & contrast

On white

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

On black

18.08
#FAF366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF366
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF366#FFFFFF#000000##000000
##FAF3661.001.1618.0818.08
#FFFFFF1.161.0021.0021.00
#00000018.0821.001.001.00
##00000018.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB56
Deuteranopia (green-blind)
#FFF16E
Tritanopia (blue-blind)
#FFE4D5
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #faf366;
/* rgb */ color: rgb(250, 243, 102);
/* oklch */ color: oklch(94.4% 0.160 106.4);
Tailwind
colors: {
  custom: {
    50: '#fff697',
    500: '#faf366',
    950: '#000000',
  },
}
SCSS
$custom: #faf366;
$custom-light: #fff697;
$custom-dark: #000000;
JSON
{
  "hex": "#faf366",
  "rgb": {
    "r": 250,
    "g": 243,
    "b": 102
  },
  "hsl": {
    "h": 57.162,
    "s": 93.671,
    "l": 69.02
  },
  "oklch": {
    "l": 0.94365,
    "c": 0.16019,
    "h": 106.4
  },
  "luminance": 0.85384
}

Semantic roles & 50–950 ramp

primary
#FAF366
secondary
#3038D4
accent
#0BE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FAF366

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

Preview Lab → · Contrast checker → · Palette generator →

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