#FAF27A#FAF27A

#FAF27A is a very light, vivid yellow. Relative luminance 0.852; OKLCH L 94.4% C 0.142 H 105.4°. Best body text is #000000 at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#FAF27A
RGBrgb(250, 242, 122)
HSLhsl(56, 93%, 73%)
HSVhsv(56, 51%, 98%)
CMYKcmyk(0%, 3.2%, 51.2%, 2%)
CIE-LABlab(93.98, -12.67, 58.16)
CIE-LCHlch(93.98, 59.52, 102.29°)
OKLaboklab(94.38% -0.0376 0.1369)
OKLCHoklch(94.38% 0.142 105.4)
XYZxyz(74.6914, 85.2356, 30.9262)
Luminance0.8523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF27A #7A82FA
analogous
#FAB27A #FAF27A #C2FA7A
triadic
#FAF27A #7AFAF2 #F27AFA
tetradic
#FAF27A #7AFAB2 #7A82FA #FA7AC2
square
#FAF27A #7AFAB2 #7A82FA #FA7AC2
split-complementary
#FAF27A #7AC2FA #B27AFA
monochromatic
#F1E209 #F8EC3F #FAF27A #FCF8B5 #FEFCE2

Accessibility & contrast

On white

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

On black

18.05
#FAF27A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF27A
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF27A#FFFFFF#000000##000000
##FAF27A1.001.1618.0518.05
#FFFFFF1.161.0021.0021.00
#00000018.0521.001.001.00
##00000018.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #faf27a;
/* rgb */ color: rgb(250, 242, 122);
/* oklch */ color: oklch(94.4% 0.142 105.4);
Tailwind
colors: {
  custom: {
    50: '#fef6a3',
    500: '#faf27a',
    950: '#000000',
  },
}
SCSS
$custom: #faf27a;
$custom-light: #fef6a3;
$custom-dark: #000000;
JSON
{
  "hex": "#faf27a",
  "rgb": {
    "r": 250,
    "g": 242,
    "b": 122
  },
  "hsl": {
    "h": 56.25,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.94375,
    "c": 0.14194,
    "h": 105.4
  },
  "luminance": 0.85233
}

Semantic roles & 50–950 ramp

primary
#FAF27A
secondary
#414BD7
accent
#0EE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FAF27A

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

Preview Lab → · Contrast checker → · Palette generator →

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