#FAF074#FAF074

#FAF074 is a very light, vivid yellow. Relative luminance 0.839; OKLCH L 93.9% C 0.145 H 104.6°. Best body text is #000000 at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#FAF074
RGBrgb(250, 240, 116)
HSLhsl(56, 93%, 72%)
HSVhsv(56, 54%, 98%)
CMYKcmyk(0%, 4%, 53.6%, 2%)
CIE-LABlab(93.41, -12.16, 60.21)
CIE-LCHlch(93.41, 61.43, 101.42°)
OKLaboklab(93.9% -0.0367 0.1407)
OKLCHoklch(93.9% 0.145 104.6)
XYZxyz(73.7390, 83.9075, 28.8311)
Luminance0.8390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF074 #747EFA
analogous
#FAAD74 #FAF074 #C1FA74
triadic
#FAF074 #74FAF0 #F074FA
tetradic
#FAF074 #74FAAD #747EFA #FA74C1
square
#FAF074 #74FAAD #747EFA #FA74C1
split-complementary
#FAF074 #74C1FA #AD74FA
monochromatic
#EBDA08 #F8EA39 #FAF074 #FCF6AF #FEFCE1

Accessibility & contrast

On white

1.18
#FAF074 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.78
#FAF074 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF074
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF074#FFFFFF#000000##000000
##FAF0741.001.1817.7817.78
#FFFFFF1.181.0021.0021.00
#00000017.7821.001.001.00
##00000017.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE968
Deuteranopia (green-blind)
#FFEF7A
Tritanopia (blue-blind)
#FFE2D4
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #faf074;
/* rgb */ color: rgb(250, 240, 116);
/* oklch */ color: oklch(93.9% 0.145 104.6);
Tailwind
colors: {
  custom: {
    50: '#fef49f',
    500: '#faf074',
    950: '#000000',
  },
}
SCSS
$custom: #faf074;
$custom-light: #fef49f;
$custom-dark: #000000;
JSON
{
  "hex": "#faf074",
  "rgb": {
    "r": 250,
    "g": 240,
    "b": 116
  },
  "hsl": {
    "h": 55.522,
    "s": 93.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.93899,
    "c": 0.14544,
    "h": 104.6
  },
  "luminance": 0.83905
}

Semantic roles & 50–950 ramp

primary
#FAF074
secondary
#3C48D6
accent
#11E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FAF074

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

Preview Lab → · Contrast checker → · Palette generator →

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