#FAF45F#FAF45F

#FAF45F is a very light, vivid yellow. Relative luminance 0.859; OKLCH L 94.5% C 0.167 H 107.0°. Best body text is #000000 at 18.17:1 contrast (WCAG AA passes).

Color values

HEX#FAF45F
RGBrgb(250, 244, 95)
HSLhsl(58, 94%, 68%)
HSVhsv(58, 62%, 98%)
CMYKcmyk(0%, 2.4%, 62%, 2%)
CIE-LABlab(94.25, -15.56, 70.11)
CIE-LCHlch(94.25, 71.81, 102.52°)
OKLaboklab(94.51% -0.0487 0.1593)
OKLCHoklch(94.51% 0.167 107)
XYZxyz(73.8431, 85.8539, 23.5059)
Luminance0.8585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF45F #5F65FA
analogous
#FAA65F #FAF45F #B3FA5F
triadic
#FAF45F #5FFAF4 #F45FFA
tetradic
#FAF45F #5FFAA6 #5F65FA #FA5FB3
square
#FAF45F #5FFAA6 #5F65FA #FA5FB3
split-complementary
#FAF45F #5FB3FA #A65FFA
monochromatic
#D8D007 #F8F024 #FAF45F #FCF89A #FEFCD6

Accessibility & contrast

On white

1.16
#FAF45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.17
#FAF45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF45F
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF45F#FFFFFF#000000##000000
##FAF45F1.001.1618.1718.17
#FFFFFF1.161.0021.0021.00
#00000018.1721.001.001.00
##00000018.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB4C
Deuteranopia (green-blind)
#FFF168
Tritanopia (blue-blind)
#FFE5D5
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #faf45f;
/* rgb */ color: rgb(250, 244, 95);
/* oklch */ color: oklch(94.5% 0.167 107.0);
Tailwind
colors: {
  custom: {
    50: '#fff793',
    500: '#faf45f',
    950: '#000000',
  },
}
SCSS
$custom: #faf45f;
$custom-light: #fff793;
$custom-dark: #000000;
JSON
{
  "hex": "#faf45f",
  "rgb": {
    "r": 250,
    "g": 244,
    "b": 95
  },
  "hsl": {
    "h": 57.677,
    "s": 93.939,
    "l": 67.647
  },
  "oklch": {
    "l": 0.94507,
    "c": 0.16654,
    "h": 107
  },
  "luminance": 0.85852
}

Semantic roles & 50–950 ramp

primary
#FAF45F
secondary
#2B32D2
accent
#09E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170D
muted
#86857F

Preview Lab

Preview with #FAF45F

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

Preview Lab → · Contrast checker → · Palette generator →

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