#FAF55A#FAF55A

#FAF55A is a very light, vivid yellow. Relative luminance 0.864; OKLCH L 94.7% C 0.171 H 107.5°. Best body text is #000000 at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#FAF55A
RGBrgb(250, 245, 90)
HSLhsl(58, 94%, 67%)
HSVhsv(58, 64%, 98%)
CMYKcmyk(0%, 2%, 64%, 2%)
CIE-LABlab(94.47, -16.34, 72.32)
CIE-LCHlch(94.47, 74.14, 102.74°)
OKLaboklab(94.67% -0.0514 0.1632)
OKLCHoklch(94.67% 0.171 107.5)
XYZxyz(73.9248, 86.3693, 22.4477)
Luminance0.8637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF55A #5A5FFA
analogous
#FAA55A #FAF55A #AFFA5A
triadic
#FAF55A #5AFAF5 #F55AFA
tetradic
#FAF55A #5AFAA5 #5A5FFA #FA5AAF
square
#FAF55A #5AFAA5 #5A5FFA #FA5AAF
split-complementary
#FAF55A #5AAFFA #A55AFA
monochromatic
#D3CD06 #F8F11F #FAF55A #FCF995 #FEFCD1

Accessibility & contrast

On white

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

On black

18.27
#FAF55A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF55A
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF55A#FFFFFF#000000##000000
##FAF55A1.001.1518.2718.27
#FFFFFF1.151.0021.0021.00
#00000018.2721.001.001.00
##00000018.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC45
Deuteranopia (green-blind)
#FFF264
Tritanopia (blue-blind)
#FFE6D5
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #faf55a;
/* rgb */ color: rgb(250, 245, 90);
/* oklch */ color: oklch(94.7% 0.171 107.5);
Tailwind
colors: {
  custom: {
    50: '#fff890',
    500: '#faf55a',
    950: '#000000',
  },
}
SCSS
$custom: #faf55a;
$custom-light: #fff890;
$custom-dark: #000000;
JSON
{
  "hex": "#faf55a",
  "rgb": {
    "r": 250,
    "g": 245,
    "b": 90
  },
  "hsl": {
    "h": 58.125,
    "s": 94.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.9467,
    "c": 0.1711,
    "h": 107.5
  },
  "luminance": 0.86367
}

Semantic roles & 50–950 ramp

primary
#FAF55A
secondary
#2A2FCE
accent
#07E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #FAF55A

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

Preview Lab → · Contrast checker → · Palette generator →

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