#FAF55F#FAF55F

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

Color values

HEX#FAF55F
RGBrgb(250, 245, 95)
HSLhsl(58, 94%, 68%)
HSVhsv(58, 62%, 98%)
CMYKcmyk(0%, 2%, 62%, 2%)
CIE-LABlab(94.51, -16.05, 70.38)
CIE-LCHlch(94.51, 72.19, 102.85°)
OKLaboklab(94.71% -0.05 0.1599)
OKLCHoklch(94.71% 0.168 107.4)
XYZxyz(74.1448, 86.4574, 23.6065)
Luminance0.8646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF55F #5F64FA
analogous
#FAA85F #FAF55F #B1FA5F
triadic
#FAF55F #5FFAF5 #F55FFA
tetradic
#FAF55F #5FFAA8 #5F64FA #FA5FB1
square
#FAF55F #5FFAA8 #5F64FA #FA5FB1
split-complementary
#FAF55F #5FB1FA #A85FFA
monochromatic
#D8D107 #F8F124 #FAF55F #FCF99A #FEFCD6

Accessibility & contrast

On white

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

On black

18.29
#FAF55F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF55F
18.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF55F#FFFFFF#000000##000000
##FAF55F1.001.1518.2918.29
#FFFFFF1.151.0021.0021.00
#00000018.2921.001.001.00
##00000018.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #faf55f;
/* rgb */ color: rgb(250, 245, 95);
/* oklch */ color: oklch(94.7% 0.168 107.4);
Tailwind
colors: {
  custom: {
    50: '#fff893',
    500: '#faf55f',
    950: '#000000',
  },
}
SCSS
$custom: #faf55f;
$custom-light: #fff893;
$custom-dark: #000000;
JSON
{
  "hex": "#faf55f",
  "rgb": {
    "r": 250,
    "g": 245,
    "b": 95
  },
  "hsl": {
    "h": 58.065,
    "s": 93.939,
    "l": 67.647
  },
  "oklch": {
    "l": 0.94712,
    "c": 0.1675,
    "h": 107.4
  },
  "luminance": 0.86455
}

Semantic roles & 50–950 ramp

primary
#FAF55F
secondary
#2B31D2
accent
#07E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170D
muted
#86857F

Preview Lab

Preview with #FAF55F

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

Preview Lab → · Contrast checker → · Palette generator →

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