#FAF37D#FAF37D

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

Color values

HEX#FAF37D
RGBrgb(250, 243, 125)
HSLhsl(57, 93%, 74%)
HSVhsv(57, 50%, 98%)
CMYKcmyk(0%, 2.8%, 50%, 2%)
CIE-LABlab(94.27, -12.91, 57.13)
CIE-LCHlch(94.27, 58.57, 102.73°)
OKLaboklab(94.62% -0.038 0.1349)
OKLCHoklch(94.62% 0.14 105.7)
XYZxyz(75.1786, 85.9080, 32.0198)
Luminance0.8591 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF37D #7D84FA
analogous
#FAB47D #FAF37D #C2FA7D
triadic
#FAF37D #7DFAF3 #F37DFA
tetradic
#FAF37D #7DFAB4 #7D84FA #FA7DC2
square
#FAF37D #7DFAB4 #7D84FA #FA7DC2
split-complementary
#FAF37D #7DC2FA #B47DFA
monochromatic
#F3E609 #F8EE42 #FAF37D #FCF8B8 #FEFCE2

Accessibility & contrast

On white

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

On black

18.18
#FAF37D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF37D
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF37D#FFFFFF#000000##000000
##FAF37D1.001.1618.1818.18
#FFFFFF1.161.0021.0021.00
#00000018.1821.001.001.00
##00000018.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB72
Deuteranopia (green-blind)
#FFF183
Tritanopia (blue-blind)
#FFE6D8
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #faf37d;
/* rgb */ color: rgb(250, 243, 125);
/* oklch */ color: oklch(94.6% 0.140 105.7);
Tailwind
colors: {
  custom: {
    50: '#fef6a5',
    500: '#faf37d',
    950: '#000000',
  },
}
SCSS
$custom: #faf37d;
$custom-light: #fef6a5;
$custom-dark: #000000;
JSON
{
  "hex": "#faf37d",
  "rgb": {
    "r": 250,
    "g": 243,
    "b": 125
  },
  "hsl": {
    "h": 56.64,
    "s": 92.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.94615,
    "c": 0.14013,
    "h": 105.7
  },
  "luminance": 0.85906
}

Semantic roles & 50–950 ramp

primary
#FAF37D
secondary
#444CD7
accent
#0DE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FAF37D

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

Preview Lab → · Contrast checker → · Palette generator →

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