#FAF55C#FAF55C

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

Color values

HEX#FAF55C
RGBrgb(250, 245, 92)
HSLhsl(58, 94%, 67%)
HSVhsv(58, 63%, 98%)
CMYKcmyk(0%, 2%, 63.2%, 2%)
CIE-LABlab(94.48, -16.23, 71.55)
CIE-LCHlch(94.48, 73.37, 102.78°)
OKLaboklab(94.69% -0.0508 0.1619)
OKLCHoklch(94.69% 0.17 107.4)
XYZxyz(74.0111, 86.4039, 22.9021)
Luminance0.8640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF55C #5C61FA
analogous
#FAA65C #FAF55C #B0FA5C
triadic
#FAF55C #5CFAF5 #F55CFA
tetradic
#FAF55C #5CFAA6 #5C61FA #FA5CB0
square
#FAF55C #5CFAA6 #5C61FA #FA5CB0
split-complementary
#FAF55C #5CB0FA #A65CFA
monochromatic
#D5CF07 #F8F121 #FAF55C #FCF997 #FEFCD3

Accessibility & contrast

On white

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

On black

18.28
#FAF55C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF55C
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF55C#FFFFFF#000000##000000
##FAF55C1.001.1518.2818.28
#FFFFFF1.151.0021.0021.00
#00000018.2821.001.001.00
##00000018.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #faf55c;
/* rgb */ color: rgb(250, 245, 92);
/* oklch */ color: oklch(94.7% 0.170 107.4);
Tailwind
colors: {
  custom: {
    50: '#fff891',
    500: '#faf55c',
    950: '#000000',
  },
}
SCSS
$custom: #faf55c;
$custom-light: #fff891;
$custom-dark: #000000;
JSON
{
  "hex": "#faf55c",
  "rgb": {
    "r": 250,
    "g": 245,
    "b": 92
  },
  "hsl": {
    "h": 58.101,
    "s": 94.048,
    "l": 67.059
  },
  "oklch": {
    "l": 0.94686,
    "c": 0.16969,
    "h": 107.4
  },
  "luminance": 0.86402
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FAF55C

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

Preview Lab → · Contrast checker → · Palette generator →

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