#FAF372#FAF372

#FAF372 is a very light, vivid yellow. Relative luminance 0.856; OKLCH L 94.5% C 0.150 H 106.1°. Best body text is #000000 at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#FAF372
RGBrgb(250, 243, 114)
HSLhsl(57, 93%, 71%)
HSVhsv(57, 54%, 98%)
CMYKcmyk(0%, 2.8%, 54.4%, 2%)
CIE-LABlab(94.16, -13.79, 61.96)
CIE-LCHlch(94.16, 63.48, 102.54°)
OKLaboklab(94.49% -0.0416 0.1443)
OKLCHoklch(94.49% 0.15 106.1)
XYZxyz(74.5144, 85.6423, 28.5218)
Luminance0.8564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF372 #7279FA
analogous
#FAAF72 #FAF372 #BDFA72
triadic
#FAF372 #72FAF3 #F372FA
tetradic
#FAF372 #72FAAF #7279FA #FA72BD
square
#FAF372 #72FAAF #7279FA #FA72BD
split-complementary
#FAF372 #72BDFA #AF72FA
monochromatic
#E9DE08 #F8EE37 #FAF372 #FCF8AD #FEFCE1

Accessibility & contrast

On white

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

On black

18.13
#FAF372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF372
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF372#FFFFFF#000000##000000
##FAF3721.001.1618.1318.13
#FFFFFF1.161.0021.0021.00
#00000018.1321.001.001.00
##00000018.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB65
Deuteranopia (green-blind)
#FFF179
Tritanopia (blue-blind)
#FFE5D6
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #faf372;
/* rgb */ color: rgb(250, 243, 114);
/* oklch */ color: oklch(94.5% 0.150 106.1);
Tailwind
colors: {
  custom: {
    50: '#fff69e',
    500: '#faf372',
    950: '#000000',
  },
}
SCSS
$custom: #faf372;
$custom-light: #fff69e;
$custom-dark: #000000;
JSON
{
  "hex": "#faf372",
  "rgb": {
    "r": 250,
    "g": 243,
    "b": 114
  },
  "hsl": {
    "h": 56.912,
    "s": 93.151,
    "l": 71.373
  },
  "oklch": {
    "l": 0.94488,
    "c": 0.15016,
    "h": 106.1
  },
  "luminance": 0.8564
}

Semantic roles & 50–950 ramp

primary
#FAF372
secondary
#3B43D6
accent
#0CE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FAF372

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

Preview Lab → · Contrast checker → · Palette generator →

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