#FFFA7E#FFFA7E

#FFFA7E is a very light, vivid yellow. Relative luminance 0.911; OKLCH L 96.5% C 0.146 H 106.8°. Best body text is #000000 at 19.23:1 contrast (WCAG AA passes).

Color values

HEX#FFFA7E
RGBrgb(255, 250, 126)
HSLhsl(58, 100%, 75%)
HSVhsv(58, 51%, 100%)
CMYKcmyk(0%, 2%, 50.6%, 0%)
CIE-LABlab(96.47, -14.28, 59.36)
CIE-LCHlch(96.47, 61.05, 103.53°)
OKLaboklab(96.46% -0.0421 0.1398)
OKLCHoklch(96.46% 0.146 106.8)
XYZxyz(79.1936, 91.1398, 33.1547)
Luminance0.9114 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFA7E #7E83FF
analogous
#FFB97E #FFFA7E #C4FF7E
triadic
#FFFA7E #7EFFFA #FA7EFF
tetradic
#FFFA7E #7EFFB9 #7E83FF #FF7EC4
square
#FFFA7E #7EFFB9 #7E83FF #FF7EC4
split-complementary
#FFFA7E #7EC4FF #B97EFF
monochromatic
#FFF504 #FFF841 #FFFA7E #FFFCBB #FFFEE0

Accessibility & contrast

On white

1.09
#FFFA7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.23
#FFFA7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFA7E
19.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFA7E#FFFFFF#000000##000000
##FFFA7E1.001.0919.2319.23
#FFFFFF1.091.0021.0021.00
#00000019.2321.001.001.00
##00000019.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF272
Deuteranopia (green-blind)
#FFF784
Tritanopia (blue-blind)
#FFECDE
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fffa7e;
/* rgb */ color: rgb(255, 250, 126);
/* oklch */ color: oklch(96.5% 0.146 106.8);
Tailwind
colors: {
  custom: {
    50: '#fffba6',
    500: '#fffa7e',
    950: '#000000',
  },
}
SCSS
$custom: #fffa7e;
$custom-light: #fffba6;
$custom-dark: #000000;
JSON
{
  "hex": "#fffa7e",
  "rgb": {
    "r": 255,
    "g": 250,
    "b": 126
  },
  "hsl": {
    "h": 57.674,
    "s": 100,
    "l": 74.706
  },
  "oklch": {
    "l": 0.96459,
    "c": 0.14595,
    "h": 106.8
  },
  "luminance": 0.91138
}

Semantic roles & 50–950 ramp

primary
#FFFA7E
secondary
#4349DE
accent
#09E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #FFFA7E

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

Preview Lab → · Contrast checker → · Palette generator →

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