#FAF37B#FAF37B

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

Color values

HEX#FAF37B
RGBrgb(250, 243, 123)
HSLhsl(57, 93%, 73%)
HSVhsv(57, 51%, 98%)
CMYKcmyk(0%, 2.8%, 50.8%, 2%)
CIE-LABlab(94.25, -13.08, 58.02)
CIE-LCHlch(94.25, 59.47, 102.70°)
OKLaboklab(94.59% -0.0386 0.1367)
OKLCHoklch(94.59% 0.142 105.8)
XYZxyz(75.0521, 85.8574, 31.3537)
Luminance0.8586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF37B #7B82FA
analogous
#FAB37B #FAF37B #C1FA7B
triadic
#FAF37B #7BFAF3 #F37BFA
tetradic
#FAF37B #7BFAB3 #7B82FA #FA7BC1
square
#FAF37B #7BFAB3 #7B82FA #FA7BC1
split-complementary
#FAF37B #7BC1FA #B37BFA
monochromatic
#F1E509 #F8EE40 #FAF37B #FCF8B6 #FEFCE2

Accessibility & contrast

On white

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

On black

18.17
#FAF37B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF37B
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF37B#FFFFFF#000000##000000
##FAF37B1.001.1618.1718.17
#FFFFFF1.161.0021.0021.00
#00000018.1721.001.001.00
##00000018.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #faf37b;
/* rgb */ color: rgb(250, 243, 123);
/* oklch */ color: oklch(94.6% 0.142 105.8);
Tailwind
colors: {
  custom: {
    50: '#fef6a4',
    500: '#faf37b',
    950: '#000000',
  },
}
SCSS
$custom: #faf37b;
$custom-light: #fef6a4;
$custom-dark: #000000;
JSON
{
  "hex": "#faf37b",
  "rgb": {
    "r": 250,
    "g": 243,
    "b": 123
  },
  "hsl": {
    "h": 56.693,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.94591,
    "c": 0.14201,
    "h": 105.8
  },
  "luminance": 0.85855
}

Semantic roles & 50–950 ramp

primary
#FAF37B
secondary
#424BD7
accent
#0DE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FAF37B

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

Preview Lab → · Contrast checker → · Palette generator →

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