#FAF09D#FAF09D

#FAF09D is a very light, moderate yellow. Relative luminance 0.851; OKLCH L 94.5% C 0.104 H 102.3°. Best body text is #000000 at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#FAF09D
RGBrgb(250, 240, 157)
HSLhsl(54, 90%, 80%)
HSVhsv(54, 37%, 98%)
CMYKcmyk(0%, 4%, 37.2%, 2%)
CIE-LABlab(93.92, -8.34, 41.34)
CIE-LCHlch(93.92, 42.17, 101.40°)
OKLaboklab(94.47% -0.0221 0.1016)
OKLCHoklch(94.47% 0.104 102.3)
XYZxyz(76.6714, 85.0805, 44.2751)
Luminance0.8508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF09D #9DA7FA
analogous
#FAC19D #FAF09D #D6FA9D
triadic
#FAF09D #9DFAF0 #F09DFA
tetradic
#FAF09D #9DFAC1 #9DA7FA #FA9DD6
square
#FAF09D #9DFAC1 #9DA7FA #FA9DD6
split-complementary
#FAF09D #9DD6FA #C19DFA
monochromatic
#F4DE29 #F7E763 #FAF09D #FDF9D7 #FEFBE2

Accessibility & contrast

On white

1.17
#FAF09D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.02
#FAF09D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF09D
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF09D#FFFFFF#000000##000000
##FAF09D1.001.1718.0218.02
#FFFFFF1.171.0021.0021.00
#00000018.0221.001.001.00
##00000018.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEEB97
Deuteranopia (green-blind)
#FFF0A0
Tritanopia (blue-blind)
#FFE5DB
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #faf09d;
/* rgb */ color: rgb(250, 240, 157);
/* oklch */ color: oklch(94.5% 0.104 102.3);
Tailwind
colors: {
  custom: {
    50: '#fdf4bb',
    500: '#faf09d',
    950: '#000000',
  },
}
SCSS
$custom: #faf09d;
$custom-light: #fdf4bb;
$custom-dark: #000000;
JSON
{
  "hex": "#faf09d",
  "rgb": {
    "r": 250,
    "g": 240,
    "b": 157
  },
  "hsl": {
    "h": 53.548,
    "s": 90.291,
    "l": 79.804
  },
  "oklch": {
    "l": 0.94466,
    "c": 0.10392,
    "h": 102.3
  },
  "luminance": 0.85078
}

Semantic roles & 50–950 ramp

primary
#FAF09D
secondary
#606DDB
accent
#19E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181712
muted
#868582

Preview Lab

Preview with #FAF09D

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

Preview Lab → · Contrast checker → · Palette generator →

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