#FAF38E#FAF38E

#FAF38E is a very light, vivid yellow. Relative luminance 0.864; OKLCH L 94.8% C 0.123 H 105.0°. Best body text is #000000 at 18.28:1 contrast (WCAG AA passes).

Color values

HEX#FAF38E
RGBrgb(250, 243, 142)
HSLhsl(56, 92%, 77%)
HSVhsv(56, 43%, 98%)
CMYKcmyk(0%, 2.8%, 43.2%, 2%)
CIE-LABlab(94.47, -11.37, 49.37)
CIE-LCHlch(94.47, 50.66, 102.97°)
OKLaboklab(94.84% -0.032 0.119)
OKLCHoklch(94.84% 0.123 105)
XYZxyz(76.3590, 86.3802, 38.2366)
Luminance0.8638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF38E #8E95FA
analogous
#FABD8E #FAF38E #CBFA8E
triadic
#FAF38E #8EFAF3 #F38EFA
tetradic
#FAF38E #8EFABD #8E95FA #FA8ECB
square
#FAF38E #8EFABD #8E95FA #FA8ECB
split-complementary
#FAF38E #8ECBFA #BD8EFA
monochromatic
#F5E719 #F7ED53 #FAF38E #FDF9C9 #FEFCE2

Accessibility & contrast

On white

1.15
#FAF38E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.28
#FAF38E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF38E
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF38E#FFFFFF#000000##000000
##FAF38E1.001.1518.2818.28
#FFFFFF1.151.0021.0021.00
#00000018.2821.001.001.00
##00000018.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC86
Deuteranopia (green-blind)
#FFF192
Tritanopia (blue-blind)
#FFE7DB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #faf38e;
/* rgb */ color: rgb(250, 243, 142);
/* oklch */ color: oklch(94.8% 0.123 105.0);
Tailwind
colors: {
  custom: {
    50: '#fef6b1',
    500: '#faf38e',
    950: '#000000',
  },
}
SCSS
$custom: #faf38e;
$custom-light: #fef6b1;
$custom-dark: #000000;
JSON
{
  "hex": "#faf38e",
  "rgb": {
    "r": 250,
    "g": 243,
    "b": 142
  },
  "hsl": {
    "h": 56.111,
    "s": 91.525,
    "l": 76.863
  },
  "oklch": {
    "l": 0.94841,
    "c": 0.12324,
    "h": 105
  },
  "luminance": 0.86378
}

Semantic roles & 50–950 ramp

primary
#FAF38E
secondary
#535CD9
accent
#0FE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FAF38E

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

Preview Lab → · Contrast checker → · Palette generator →

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