#FAF06D#FAF06D

#FAF06D is a very light, vivid yellow. Relative luminance 0.837; OKLCH L 93.8% C 0.152 H 104.9°. Best body text is #000000 at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#FAF06D
RGBrgb(250, 240, 109)
HSLhsl(56, 93%, 70%)
HSVhsv(56, 56%, 98%)
CMYKcmyk(0%, 4%, 56.4%, 2%)
CIE-LABlab(93.34, -12.68, 63.23)
CIE-LCHlch(93.34, 64.49, 101.34°)
OKLaboklab(93.82% -0.039 0.1465)
OKLCHoklch(93.82% 0.152 104.9)
XYZxyz(73.3471, 83.7507, 26.7669)
Luminance0.8375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF06D #6D77FA
analogous
#FAAA6D #FAF06D #BDFA6D
triadic
#FAF06D #6DFAF0 #F06DFA
tetradic
#FAF06D #6DFAAA #6D77FA #FA6DBD
square
#FAF06D #6DFAAA #6D77FA #FA6DBD
split-complementary
#FAF06D #6DBDFA #AA6DFA
monochromatic
#E5D508 #F8EA32 #FAF06D #FCF6A8 #FEFCE1

Accessibility & contrast

On white

1.18
#FAF06D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.75
#FAF06D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF06D
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF06D#FFFFFF#000000##000000
##FAF06D1.001.1817.7517.75
#FFFFFF1.181.0021.0021.00
#00000017.7521.001.001.00
##00000017.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE85F
Deuteranopia (green-blind)
#FFEF74
Tritanopia (blue-blind)
#FFE2D3
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #faf06d;
/* rgb */ color: rgb(250, 240, 109);
/* oklch */ color: oklch(93.8% 0.152 104.9);
Tailwind
colors: {
  custom: {
    50: '#fff49b',
    500: '#faf06d',
    950: '#000000',
  },
}
SCSS
$custom: #faf06d;
$custom-light: #fff49b;
$custom-dark: #000000;
JSON
{
  "hex": "#faf06d",
  "rgb": {
    "r": 250,
    "g": 240,
    "b": 109
  },
  "hsl": {
    "h": 55.745,
    "s": 93.377,
    "l": 70.392
  },
  "oklch": {
    "l": 0.93822,
    "c": 0.15155,
    "h": 104.9
  },
  "luminance": 0.83748
}

Semantic roles & 50–950 ramp

primary
#FAF06D
secondary
#3642D5
accent
#10E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FAF06D

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

Preview Lab → · Contrast checker → · Palette generator →

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