#FAF75E#FAF75E

#FAF75E is a very light, vivid yellow. Relative luminance 0.877; OKLCH L 95.1% C 0.170 H 108.2°. Best body text is #000000 at 18.53:1 contrast (WCAG AA passes).

Color values

HEX#FAF75E
RGBrgb(250, 247, 94)
HSLhsl(59, 94%, 67%)
HSVhsv(59, 62%, 98%)
CMYKcmyk(0%, 1.2%, 62.4%, 2%)
CIE-LABlab(95.02, -17.08, 71.32)
CIE-LCHlch(95.02, 73.33, 103.47°)
OKLaboklab(95.12% -0.053 0.1617)
OKLCHoklch(95.12% 0.17 108.2)
XYZxyz(74.7080, 87.6559, 23.5714)
Luminance0.8765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF75E #5E61FA
analogous
#FAA95E #FAF75E #AFFA5E
triadic
#FAF75E #5EFAF7 #F75EFA
tetradic
#FAF75E #5EFAA9 #5E61FA #FA5EAF
square
#FAF75E #5EFAA9 #5E61FA #FA5EAF
split-complementary
#FAF75E #5EAFFA #A95EFA
monochromatic
#D7D307 #F8F423 #FAF75E #FCFA99 #FEFDD5

Accessibility & contrast

On white

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

On black

18.53
#FAF75E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF75E
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF75E#FFFFFF#000000##000000
##FAF75E1.001.1318.5318.53
#FFFFFF1.131.0021.0021.00
#00000018.5321.001.001.00
##00000018.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE4A
Deuteranopia (green-blind)
#FFF368
Tritanopia (blue-blind)
#FFE8D7
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #faf75e;
/* rgb */ color: rgb(250, 247, 94);
/* oklch */ color: oklch(95.1% 0.170 108.2);
Tailwind
colors: {
  custom: {
    50: '#fff992',
    500: '#faf75e',
    950: '#000000',
  },
}
SCSS
$custom: #faf75e;
$custom-light: #fff992;
$custom-dark: #000000;
JSON
{
  "hex": "#faf75e",
  "rgb": {
    "r": 250,
    "g": 247,
    "b": 94
  },
  "hsl": {
    "h": 58.846,
    "s": 93.976,
    "l": 67.451
  },
  "oklch": {
    "l": 0.95115,
    "c": 0.17017,
    "h": 108.2
  },
  "luminance": 0.87654
}

Semantic roles & 50–950 ramp

primary
#FAF75E
secondary
#2B2ED1
accent
#04E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #FAF75E

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

Preview Lab → · Contrast checker → · Palette generator →

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