#FAF06B#FAF06B

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

Color values

HEX#FAF06B
RGBrgb(250, 240, 107)
HSLhsl(56, 93%, 70%)
HSVhsv(56, 57%, 98%)
CMYKcmyk(0%, 4%, 57.2%, 2%)
CIE-LABlab(93.32, -12.83, 64.08)
CIE-LCHlch(93.32, 65.35, 101.32°)
OKLaboklab(93.8% -0.0396 0.148)
OKLCHoklch(93.8% 0.153 105)
XYZxyz(73.2407, 83.7081, 26.2063)
Luminance0.8371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF06B #6B75FA
analogous
#FAA86B #FAF06B #BDFA6B
triadic
#FAF06B #6BFAF0 #F06BFA
tetradic
#FAF06B #6BFAA8 #6B75FA #FA6BBD
square
#FAF06B #6BFAA8 #6B75FA #FA6BBD
split-complementary
#FAF06B #6BBDFA #A86BFA
monochromatic
#E3D408 #F8EA30 #FAF06B #FCF6A6 #FEFCE1

Accessibility & contrast

On white

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

On black

17.74
#FAF06B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF06B
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF06B#FFFFFF#000000##000000
##FAF06B1.001.1817.7417.74
#FFFFFF1.181.0021.0021.00
#00000017.7421.001.001.00
##00000017.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #faf06b;
/* rgb */ color: rgb(250, 240, 107);
/* oklch */ color: oklch(93.8% 0.153 105.0);
Tailwind
colors: {
  custom: {
    50: '#fff49a',
    500: '#faf06b',
    950: '#000000',
  },
}
SCSS
$custom: #faf06b;
$custom-light: #fff49a;
$custom-dark: #000000;
JSON
{
  "hex": "#faf06b",
  "rgb": {
    "r": 250,
    "g": 240,
    "b": 107
  },
  "hsl": {
    "h": 55.804,
    "s": 93.464,
    "l": 70
  },
  "oklch": {
    "l": 0.93802,
    "c": 0.15324,
    "h": 105
  },
  "luminance": 0.83706
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FAF06B

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

Preview Lab → · Contrast checker → · Palette generator →

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