#FAF37E#FAF37E

#FAF37E is a very light, vivid yellow. Relative luminance 0.859; OKLCH L 94.6% C 0.139 H 105.7°. Best body text is #000000 at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#FAF37E
RGBrgb(250, 243, 126)
HSLhsl(57, 93%, 74%)
HSVhsv(57, 50%, 98%)
CMYKcmyk(0%, 2.8%, 49.6%, 2%)
CIE-LABlab(94.28, -12.83, 56.68)
CIE-LCHlch(94.28, 58.11, 102.75°)
OKLaboklab(94.63% -0.0376 0.134)
OKLCHoklch(94.63% 0.139 105.7)
XYZxyz(75.2428, 85.9337, 32.3579)
Luminance0.8593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF37E #7E85FA
analogous
#FAB57E #FAF37E #C3FA7E
triadic
#FAF37E #7EFAF3 #F37EFA
tetradic
#FAF37E #7EFAB5 #7E85FA #FA7EC3
square
#FAF37E #7EFAB5 #7E85FA #FA7EC3
split-complementary
#FAF37E #7EC3FA #B57EFA
monochromatic
#F4E709 #F8EE43 #FAF37E #FCF8B9 #FEFCE2

Accessibility & contrast

On white

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

On black

18.19
#FAF37E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF37E
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF37E#FFFFFF#000000##000000
##FAF37E1.001.1518.1918.19
#FFFFFF1.151.0021.0021.00
#00000018.1921.001.001.00
##00000018.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC73
Deuteranopia (green-blind)
#FFF184
Tritanopia (blue-blind)
#FFE6D8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #faf37e;
/* rgb */ color: rgb(250, 243, 126);
/* oklch */ color: oklch(94.6% 0.139 105.7);
Tailwind
colors: {
  custom: {
    50: '#fef6a6',
    500: '#faf37e',
    950: '#000000',
  },
}
SCSS
$custom: #faf37e;
$custom-light: #fef6a6;
$custom-dark: #000000;
JSON
{
  "hex": "#faf37e",
  "rgb": {
    "r": 250,
    "g": 243,
    "b": 126
  },
  "hsl": {
    "h": 56.613,
    "s": 92.537,
    "l": 73.725
  },
  "oklch": {
    "l": 0.94627,
    "c": 0.13918,
    "h": 105.7
  },
  "luminance": 0.85932
}

Semantic roles & 50–950 ramp

primary
#FAF37E
secondary
#454DD7
accent
#0DE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181710
muted
#868580

Preview Lab

Preview with #FAF37E

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

Preview Lab → · Contrast checker → · Palette generator →

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