#FAF85E#FAF85E

#FAF85E is a very light, vivid yellow. Relative luminance 0.883; OKLCH L 95.3% C 0.171 H 108.5°. Best body text is #000000 at 18.65:1 contrast (WCAG AA passes).

Color values

HEX#FAF85E
RGBrgb(250, 248, 94)
HSLhsl(59, 94%, 67%)
HSVhsv(59, 62%, 98%)
CMYKcmyk(0%, 0.8%, 62.4%, 2%)
CIE-LABlab(95.27, -17.56, 71.59)
CIE-LCHlch(95.27, 73.71, 103.78°)
OKLaboklab(95.32% -0.0544 0.1623)
OKLCHoklch(95.32% 0.171 108.5)
XYZxyz(75.0146, 88.2692, 23.6736)
Luminance0.8827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF85E #5E60FA
analogous
#FAAA5E #FAF85E #AEFA5E
triadic
#FAF85E #5EFAF8 #F85EFA
tetradic
#FAF85E #5EFAAA #5E60FA #FA5EAE
square
#FAF85E #5EFAAA #5E60FA #FA5EAE
split-complementary
#FAF85E #5EAEFA #AA5EFA
monochromatic
#D7D407 #F8F523 #FAF85E #FCFB99 #FEFDD5

Accessibility & contrast

On white

1.13
#FAF85E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.65
#FAF85E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF85E
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF85E#FFFFFF#000000##000000
##FAF85E1.001.1318.6518.65
#FFFFFF1.131.0021.0021.00
#00000018.6521.001.001.00
##00000018.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE4A
Deuteranopia (green-blind)
#FFF468
Tritanopia (blue-blind)
#FFE9D8
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #faf85e;
/* rgb */ color: rgb(250, 248, 94);
/* oklch */ color: oklch(95.3% 0.171 108.5);
Tailwind
colors: {
  custom: {
    50: '#fffa92',
    500: '#faf85e',
    950: '#000000',
  },
}
SCSS
$custom: #faf85e;
$custom-light: #fffa92;
$custom-dark: #000000;
JSON
{
  "hex": "#faf85e",
  "rgb": {
    "r": 250,
    "g": 248,
    "b": 94
  },
  "hsl": {
    "h": 59.231,
    "s": 93.976,
    "l": 67.451
  },
  "oklch": {
    "l": 0.95321,
    "c": 0.17114,
    "h": 108.5
  },
  "luminance": 0.88267
}

Semantic roles & 50–950 ramp

primary
#FAF85E
secondary
#2B2DD1
accent
#03E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170D
muted
#86857F

Preview Lab

Preview with #FAF85E

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

Preview Lab → · Contrast checker → · Palette generator →

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