#FAF27E#FAF27E

#FAF27E is a very light, vivid yellow. Relative luminance 0.853; OKLCH L 94.4% C 0.138 H 105.2°. Best body text is #000000 at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#FAF27E
RGBrgb(250, 242, 126)
HSLhsl(56, 93%, 74%)
HSVhsv(56, 50%, 98%)
CMYKcmyk(0%, 3.2%, 49.6%, 2%)
CIE-LABlab(94.03, -12.34, 56.37)
CIE-LCHlch(94.03, 57.71, 102.34°)
OKLaboklab(94.42% -0.0362 0.1333)
OKLCHoklch(94.42% 0.138 105.2)
XYZxyz(74.9443, 85.3368, 32.2584)
Luminance0.8534 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF27E #7E86FA
analogous
#FAB47E #FAF27E #C4FA7E
triadic
#FAF27E #7EFAF2 #F27EFA
tetradic
#FAF27E #7EFAB4 #7E86FA #FA7EC4
square
#FAF27E #7EFAB4 #7E86FA #FA7EC4
split-complementary
#FAF27E #7EC4FA #B47EFA
monochromatic
#F4E509 #F8EC43 #FAF27E #FCF8B9 #FEFCE2

Accessibility & contrast

On white

1.16
#FAF27E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.07
#FAF27E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF27E
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF27E#FFFFFF#000000##000000
##FAF27E1.001.1618.0718.07
#FFFFFF1.161.0021.0021.00
#00000018.0721.001.001.00
##00000018.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB74
Deuteranopia (green-blind)
#FFF084
Tritanopia (blue-blind)
#FFE5D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #faf27e;
/* rgb */ color: rgb(250, 242, 126);
/* oklch */ color: oklch(94.4% 0.138 105.2);
Tailwind
colors: {
  custom: {
    50: '#fef6a6',
    500: '#faf27e',
    950: '#000000',
  },
}
SCSS
$custom: #faf27e;
$custom-light: #fef6a6;
$custom-dark: #000000;
JSON
{
  "hex": "#faf27e",
  "rgb": {
    "r": 250,
    "g": 242,
    "b": 126
  },
  "hsl": {
    "h": 56.129,
    "s": 92.537,
    "l": 73.725
  },
  "oklch": {
    "l": 0.94424,
    "c": 0.13816,
    "h": 105.2
  },
  "luminance": 0.85335
}

Semantic roles & 50–950 ramp

primary
#FAF27E
secondary
#454ED7
accent
#0FE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181710
muted
#868580

Preview Lab

Preview with #FAF27E

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

Preview Lab → · Contrast checker → · Palette generator →

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