#FAF46B#FAF46B

#FAF46B is a very light, vivid yellow. Relative luminance 0.861; OKLCH L 94.6% C 0.157 H 106.7°. Best body text is #000000 at 18.22:1 contrast (WCAG AA passes).

Color values

HEX#FAF46B
RGBrgb(250, 244, 107)
HSLhsl(57, 93%, 70%)
HSVhsv(57, 57%, 98%)
CMYKcmyk(0%, 2.4%, 57.2%, 2%)
CIE-LABlab(94.35, -14.78, 65.23)
CIE-LCHlch(94.35, 66.88, 102.77°)
OKLaboklab(94.62% -0.0452 0.1505)
OKLCHoklch(94.62% 0.157 106.7)
XYZxyz(74.4312, 86.0892, 26.6032)
Luminance0.8609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF46B #6B71FA
analogous
#FAAD6B #FAF46B #B8FA6B
triadic
#FAF46B #6BFAF4 #F46BFA
tetradic
#FAF46B #6BFAAD #6B71FA #FA6BB8
square
#FAF46B #6BFAAD #6B71FA #FA6BB8
split-complementary
#FAF46B #6BB8FA #AD6BFA
monochromatic
#E3DA08 #F8F030 #FAF46B #FCF8A6 #FEFDE1

Accessibility & contrast

On white

1.15
#FAF46B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.22
#FAF46B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF46B
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF46B#FFFFFF#000000##000000
##FAF46B1.001.1518.2218.22
#FFFFFF1.151.0021.0021.00
#00000018.2221.001.001.00
##00000018.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC5C
Deuteranopia (green-blind)
#FFF173
Tritanopia (blue-blind)
#FFE6D6
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #faf46b;
/* rgb */ color: rgb(250, 244, 107);
/* oklch */ color: oklch(94.6% 0.157 106.7);
Tailwind
colors: {
  custom: {
    50: '#fff79a',
    500: '#faf46b',
    950: '#000000',
  },
}
SCSS
$custom: #faf46b;
$custom-light: #fff79a;
$custom-dark: #000000;
JSON
{
  "hex": "#faf46b",
  "rgb": {
    "r": 250,
    "g": 244,
    "b": 107
  },
  "hsl": {
    "h": 57.483,
    "s": 93.464,
    "l": 70
  },
  "oklch": {
    "l": 0.94619,
    "c": 0.15711,
    "h": 106.7
  },
  "luminance": 0.86087
}

Semantic roles & 50–950 ramp

primary
#FAF46B
secondary
#353BD5
accent
#0AE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FAF46B

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

Preview Lab → · Contrast checker → · Palette generator →

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