#FAF06F#FAF06F

#FAF06F is a very light, vivid yellow. Relative luminance 0.838; OKLCH L 93.8% C 0.150 H 104.8°. Best body text is #000000 at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#FAF06F
RGBrgb(250, 240, 111)
HSLhsl(56, 93%, 71%)
HSVhsv(56, 56%, 98%)
CMYKcmyk(0%, 4%, 55.6%, 2%)
CIE-LABlab(93.36, -12.54, 62.38)
CIE-LCHlch(93.36, 63.62, 101.37°)
OKLaboklab(93.84% -0.0384 0.1448)
OKLCHoklch(93.84% 0.15 104.8)
XYZxyz(73.4560, 83.7943, 27.3404)
Luminance0.8379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF06F #6F79FA
analogous
#FAAA6F #FAF06F #BFFA6F
triadic
#FAF06F #6FFAF0 #F06FFA
tetradic
#FAF06F #6FFAAA #6F79FA #FA6FBF
square
#FAF06F #6FFAAA #6F79FA #FA6FBF
split-complementary
#FAF06F #6FBFFA #AA6FFA
monochromatic
#E7D708 #F8EA34 #FAF06F #FCF6AA #FEFCE1

Accessibility & contrast

On white

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

On black

17.76
#FAF06F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF06F
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF06F#FFFFFF#000000##000000
##FAF06F1.001.1817.7617.76
#FFFFFF1.181.0021.0021.00
#00000017.7621.001.001.00
##00000017.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE862
Deuteranopia (green-blind)
#FFEF76
Tritanopia (blue-blind)
#FFE2D4
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #faf06f;
/* rgb */ color: rgb(250, 240, 111);
/* oklch */ color: oklch(93.8% 0.150 104.8);
Tailwind
colors: {
  custom: {
    50: '#fff49c',
    500: '#faf06f',
    950: '#000000',
  },
}
SCSS
$custom: #faf06f;
$custom-light: #fff49c;
$custom-dark: #000000;
JSON
{
  "hex": "#faf06f",
  "rgb": {
    "r": 250,
    "g": 240,
    "b": 111
  },
  "hsl": {
    "h": 55.683,
    "s": 93.289,
    "l": 70.784
  },
  "oklch": {
    "l": 0.93844,
    "c": 0.14983,
    "h": 104.8
  },
  "luminance": 0.83792
}

Semantic roles & 50–950 ramp

primary
#FAF06F
secondary
#3843D5
accent
#11E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FAF06F

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

Preview Lab → · Contrast checker → · Palette generator →

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