#FAF07D#FAF07D

#FAF07D is a very light, vivid yellow. Relative luminance 0.841; OKLCH L 94.0% C 0.137 H 104.2°. Best body text is #000000 at 17.83:1 contrast (WCAG AA passes).

Color values

HEX#FAF07D
RGBrgb(250, 240, 125)
HSLhsl(55, 93%, 74%)
HSVhsv(55, 50%, 98%)
CMYKcmyk(0%, 4%, 50%, 2%)
CIE-LABlab(93.51, -11.44, 56.22)
CIE-LCHlch(93.51, 57.37, 101.50°)
OKLaboklab(94.01% -0.0337 0.1329)
OKLCHoklch(94.01% 0.137 104.2)
XYZxyz(74.2881, 84.1271, 31.7230)
Luminance0.8413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF07D #7D87FA
analogous
#FAB17D #FAF07D #C5FA7D
triadic
#FAF07D #7DFAF0 #F07DFA
tetradic
#FAF07D #7DFAB1 #7D87FA #FA7DC5
square
#FAF07D #7DFAB1 #7D87FA #FA7DC5
split-complementary
#FAF07D #7DC5FA #B17DFA
monochromatic
#F3E109 #F8E942 #FAF07D #FCF7B8 #FEFCE2

Accessibility & contrast

On white

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

On black

17.83
#FAF07D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF07D
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF07D#FFFFFF#000000##000000
##FAF07D1.001.1817.8317.83
#FFFFFF1.181.0021.0021.00
#00000017.8321.001.001.00
##00000017.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE973
Deuteranopia (green-blind)
#FFEF82
Tritanopia (blue-blind)
#FFE3D6
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #faf07d;
/* rgb */ color: rgb(250, 240, 125);
/* oklch */ color: oklch(94.0% 0.137 104.2);
Tailwind
colors: {
  custom: {
    50: '#fef4a5',
    500: '#faf07d',
    950: '#000000',
  },
}
SCSS
$custom: #faf07d;
$custom-light: #fef4a5;
$custom-dark: #000000;
JSON
{
  "hex": "#faf07d",
  "rgb": {
    "r": 250,
    "g": 240,
    "b": 125
  },
  "hsl": {
    "h": 55.2,
    "s": 92.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.94005,
    "c": 0.13712,
    "h": 104.2
  },
  "luminance": 0.84125
}

Semantic roles & 50–950 ramp

primary
#FAF07D
secondary
#4450D7
accent
#12E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FAF07D

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

Preview Lab → · Contrast checker → · Palette generator →

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