#FAF85F#FAF85F

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

Color values

HEX#FAF85F
RGBrgb(250, 248, 95)
HSLhsl(59, 94%, 68%)
HSVhsv(59, 62%, 98%)
CMYKcmyk(0%, 0.8%, 62%, 2%)
CIE-LABlab(95.28, -17.50, 71.20)
CIE-LCHlch(95.28, 73.32, 103.81°)
OKLaboklab(95.33% -0.0541 0.1616)
OKLCHoklch(95.33% 0.17 108.5)
XYZxyz(75.0597, 88.2872, 23.9115)
Luminance0.8829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF85F #5F61FA
analogous
#FAAB5F #FAF85F #AEFA5F
triadic
#FAF85F #5FFAF8 #F85FFA
tetradic
#FAF85F #5FFAAB #5F61FA #FA5FAE
square
#FAF85F #5FFAAB #5F61FA #FA5FAE
split-complementary
#FAF85F #5FAEFA #AB5FFA
monochromatic
#D8D507 #F8F524 #FAF85F #FCFB9A #FEFDD6

Accessibility & contrast

On white

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

On black

18.66
#FAF85F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF85F
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF85F#FFFFFF#000000##000000
##FAF85F1.001.1318.6618.66
#FFFFFF1.131.0021.0021.00
#00000018.6621.001.001.00
##00000018.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #faf85f;
/* rgb */ color: rgb(250, 248, 95);
/* oklch */ color: oklch(95.3% 0.170 108.5);
Tailwind
colors: {
  custom: {
    50: '#fffa93',
    500: '#faf85f',
    950: '#000000',
  },
}
SCSS
$custom: #faf85f;
$custom-light: #fffa93;
$custom-dark: #000000;
JSON
{
  "hex": "#faf85f",
  "rgb": {
    "r": 250,
    "g": 248,
    "b": 95
  },
  "hsl": {
    "h": 59.226,
    "s": 93.939,
    "l": 67.647
  },
  "oklch": {
    "l": 0.95329,
    "c": 0.17041,
    "h": 108.5
  },
  "luminance": 0.88285
}

Semantic roles & 50–950 ramp

primary
#FAF85F
secondary
#2B2DD2
accent
#03E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FAF85F

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

Preview Lab → · Contrast checker → · Palette generator →

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