#FAF07E#FAF07E

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

Color values

HEX#FAF07E
RGBrgb(250, 240, 126)
HSLhsl(55, 93%, 74%)
HSVhsv(55, 50%, 98%)
CMYKcmyk(0%, 4%, 49.6%, 2%)
CIE-LABlab(93.52, -11.35, 55.77)
CIE-LCHlch(93.52, 56.91, 101.51°)
OKLaboklab(94.02% -0.0334 0.132)
OKLCHoklch(94.02% 0.136 104.2)
XYZxyz(74.3523, 84.1528, 32.0611)
Luminance0.8415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF07E #7E88FA
analogous
#FAB27E #FAF07E #C6FA7E
triadic
#FAF07E #7EFAF0 #F07EFA
tetradic
#FAF07E #7EFAB2 #7E88FA #FA7EC6
square
#FAF07E #7EFAB2 #7E88FA #FA7EC6
split-complementary
#FAF07E #7EC6FA #B27EFA
monochromatic
#F4E109 #F8E943 #FAF07E #FCF7B9 #FEFCE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FAF07E#FFFFFF#000000##000000
##FAF07E1.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)
#FFE974
Deuteranopia (green-blind)
#FFEF83
Tritanopia (blue-blind)
#FFE3D6
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #faf07e;
/* rgb */ color: rgb(250, 240, 126);
/* oklch */ color: oklch(94.0% 0.136 104.2);
Tailwind
colors: {
  custom: {
    50: '#fef4a6',
    500: '#faf07e',
    950: '#000000',
  },
}
SCSS
$custom: #faf07e;
$custom-light: #fef4a6;
$custom-dark: #000000;
JSON
{
  "hex": "#faf07e",
  "rgb": {
    "r": 250,
    "g": 240,
    "b": 126
  },
  "hsl": {
    "h": 55.161,
    "s": 92.537,
    "l": 73.725
  },
  "oklch": {
    "l": 0.94018,
    "c": 0.13616,
    "h": 104.2
  },
  "luminance": 0.84151
}

Semantic roles & 50–950 ramp

primary
#FAF07E
secondary
#4551D7
accent
#13E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FAF07E

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

Preview Lab → · Contrast checker → · Palette generator →

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